diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-03-27 21:20:19 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-03-30 09:09:40 -0400 |
commit | aa2a0d4bb8e60321a814860f08eebfcf78dfde8f (patch) | |
tree | 3b6e05d2235484f008673d3d687eaeb4c4feb67f | |
parent | 8caf80fcf43b118c41d8546c15ade35cf3f9b854 (diff) | |
download | guix-aa2a0d4bb8e60321a814860f08eebfcf78dfde8f.tar.gz |
environment: Set a default value for PS1.
* guix/scripts/environment.scm (launch-environment/container): Set PS1 during container initialization.
-rw-r--r-- | guix/scripts/environment.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index fc75d78611..0ec2c5d3cb 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -425,6 +425,9 @@ host file systems to mount inside the container." (mkdir-p "/bin") (symlink bash "/bin/sh") + ;; Set a reasonable default PS1. + (setenv "PS1" "\\u@\\h \\w [env]\\$ ") + ;; Setup directory for temporary files. (mkdir-p "/tmp") (for-each (lambda (var) |