summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Griffin <a@ajgrf.com>2016-05-05 09:59:03 -0500
committerLudovic Courtès <ludo@gnu.org>2016-05-06 13:25:30 +0200
commitba2613bb4e47938044a3c96b92debf1bddcf0140 (patch)
tree8851b895900d70306b8addbd88962e37154dd282
parent766a22fb4d12f9da526afb2232e1ec19d3fd926b (diff)
system: Do not export PS1 in /etc/skel/.bashrc.
* gnu/system/shadow.scm (default-skeletons)[bashrc]: Remove "export" for 'PS1'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/system/shadow.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index a13ef1192c1..b8837c63f0a 100644
--- a/gnu/system/shadow.scm
+++ b/gnu/system/shadow.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -166,9 +167,9 @@ fi
166# Adjust the prompt depending on whether we're in 'guix environment'. 167# Adjust the prompt depending on whether we're in 'guix environment'.
167if [ -n \"$GUIX_ENVIRONMENT\" ] 168if [ -n \"$GUIX_ENVIRONMENT\" ]
168then 169then
169 export PS1='\\u@\\h \\w [env]\\$ ' 170 PS1='\\u@\\h \\w [env]\\$ '
170else 171else
171 export PS1='\\u@\\h \\w\\$ ' 172 PS1='\\u@\\h \\w\\$ '
172fi 173fi
173alias ls='ls -p --color' 174alias ls='ls -p --color'
174alias ll='ls -l'\n")) 175alias ll='ls -l'\n"))