From aa2a0d4bb8e60321a814860f08eebfcf78dfde8f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 27 Mar 2016 21:20:19 -0400 Subject: [PATCH] environment: Set a default value for PS1. * guix/scripts/environment.scm (launch-environment/container): Set PS1 during container initialization. --- guix/scripts/environment.scm | 3 +++ 1 file changed, 3 insertions(+) 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)