me
/
guix
Archived
1
0
Fork 0

environment: Set a default value for PS1.

* guix/scripts/environment.scm (launch-environment/container): Set PS1
  during container initialization.
master
David Thompson 2016-03-27 21:20:19 -04:00
parent 8caf80fcf4
commit aa2a0d4bb8
1 changed files with 3 additions and 0 deletions

View File

@ -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)