environment: Set a default value for PS1.
* guix/scripts/environment.scm (launch-environment/container): Set PS1 during container initialization.master
parent
8caf80fcf4
commit
aa2a0d4bb8
|
@ -425,6 +425,9 @@ host file systems to mount inside the container."
|
||||||
(mkdir-p "/bin")
|
(mkdir-p "/bin")
|
||||||
(symlink bash "/bin/sh")
|
(symlink bash "/bin/sh")
|
||||||
|
|
||||||
|
;; Set a reasonable default PS1.
|
||||||
|
(setenv "PS1" "\\u@\\h \\w [env]\\$ ")
|
||||||
|
|
||||||
;; Setup directory for temporary files.
|
;; Setup directory for temporary files.
|
||||||
(mkdir-p "/tmp")
|
(mkdir-p "/tmp")
|
||||||
(for-each (lambda (var)
|
(for-each (lambda (var)
|
||||||
|
|
Reference in New Issue