diff options
author | Alex Griffin <a@ajgrf.com> | 2016-05-05 09:59:03 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-06 13:25:30 +0200 |
commit | ba2613bb4e47938044a3c96b92debf1bddcf0140 (patch) | |
tree | 8851b895900d70306b8addbd88962e37154dd282 | |
parent | 766a22fb4d12f9da526afb2232e1ec19d3fd926b (diff) | |
download | guix-ba2613bb4e47938044a3c96b92debf1bddcf0140.tar guix-ba2613bb4e47938044a3c96b92debf1bddcf0140.tar.gz |
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.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index a13ef1192c..b8837c63f0 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -166,9 +167,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")) |