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 /gnu | |
| parent | 766a22fb4d12f9da526afb2232e1ec19d3fd926b (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>
Diffstat (limited to 'gnu')
| -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 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'. |
| 167 | if [ -n \"$GUIX_ENVIRONMENT\" ] | 168 | if [ -n \"$GUIX_ENVIRONMENT\" ] |
| 168 | then | 169 | then |
| 169 | export PS1='\\u@\\h \\w [env]\\$ ' | 170 | PS1='\\u@\\h \\w [env]\\$ ' |
| 170 | else | 171 | else |
| 171 | export PS1='\\u@\\h \\w\\$ ' | 172 | PS1='\\u@\\h \\w\\$ ' |
| 172 | fi | 173 | fi |
| 173 | alias ls='ls -p --color' | 174 | alias ls='ls -p --color' |
| 174 | alias ll='ls -l'\n")) | 175 | alias ll='ls -l'\n")) |
