[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: environment: Set a default value for PS1.
From: |
David Thompson |
Subject: |
01/01: environment: Set a default value for PS1. |
Date: |
Wed, 30 Mar 2016 13:09:47 +0000 |
davexunit pushed a commit to branch master
in repository guix.
commit aa2a0d4bb8e60321a814860f08eebfcf78dfde8f
Author: David Thompson <address@hidden>
Date: Sun Mar 27 21:20:19 2016 -0400
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 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index fc75d78..0ec2c5d 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" "address@hidden \\w [env]\\$ ")
+
;; Setup directory for temporary files.
(mkdir-p "/tmp")
(for-each (lambda (var)