There's really no reason for other programs to need to see your bash
prompt, so I removed a couple `export` keywords from the default bashrc.
-- 
Alex Griffin
From 597c788a6604bcd84a24a469d92c1fbd47f4bedb Mon Sep 17 00:00:00 2001
From: Alex Griffin <a...@ajgrf.com>
Date: Thu, 5 May 2016 09:59:03 -0500
Subject: [PATCH] system: Do not export PS1 in /etc/skel/.bashrc.

---
 gnu/system/shadow.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index a13ef11..1aa4422 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -166,9 +166,9 @@ fi
 # Adjust the prompt depending on whether we're in 'guix environment'.
 if [ -n \"$GUIX_ENVIRONMENT\" ]
 then
-    export PS1='\\u@\\h \\w [env]\\$ '
+    PS1='\\u@\\h \\w [env]\\$ '
 else
-    export PS1='\\u@\\h \\w\\$ '
+    PS1='\\u@\\h \\w\\$ '
 fi
 alias ls='ls -p --color'
 alias ll='ls -l'\n"))
-- 
2.7.4

Reply via email to