summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/environment.scm3
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)