guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: system: Do not export PS1 in /etc/skel/.bashrc.


From: Ludovic Courtès
Subject: 01/03: system: Do not export PS1 in /etc/skel/.bashrc.
Date: Fri, 06 May 2016 11:25:48 +0000

civodul pushed a commit to branch master
in repository guix.

commit ba2613bb4e47938044a3c96b92debf1bddcf0140
Author: Alex Griffin <address@hidden>
Date:   Thu May 5 09:59:03 2016 -0500

    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 <address@hidden>
---
 gnu/system/shadow.scm |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm
index a13ef11..b8837c6 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 <address@hidden>
+;;; Copyright © 2016 Alex Griffin <address@hidden>
 ;;;
 ;;; 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='address@hidden \\w [env]\\$ '
+    PS1='address@hidden \\w [env]\\$ '
 else
-    export PS1='address@hidden \\w\\$ '
+    PS1='address@hidden \\w\\$ '
 fi
 alias ls='ls -p --color'
 alias ll='ls -l'\n"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]