Author: justin
Date: 2005-12-08 22:37:14 -0700 (Thu, 08 Dec 2005)
New Revision: 1263

Modified:
   branches/6.1.1-newmake/etc/bashrc
Log:
[6.1.1-newmake] Replaced \D with date in PS1 in etc/bashrc.  \D doesn't seem to 
respect the TZ variable, showing UTC instead.

Modified: branches/6.1.1-newmake/etc/bashrc
===================================================================
--- branches/6.1.1-newmake/etc/bashrc   2005-12-09 05:26:37 UTC (rev 1262)
+++ branches/6.1.1-newmake/etc/bashrc   2005-12-09 05:37:14 UTC (rev 1263)
@@ -10,9 +10,9 @@
 
 # Prompt
 if [ `whoami` = "root" ] ; then
-       PS1="$BRWHITE\h:$RED\u | $BRWHITE\D{%c} $RED| 
$GREEN\w$BRWHITE\n$WHITE\\$ "
+       PS1="$BRWHITE\h:$RED\u | $BRWHITE\`date +%c\` $RED| 
$GREEN\w$BRWHITE\n$WHITE\\$ "
 else
-       PS1="$BRWHITE\h:$GREEN\u | $BRWHITE\D{%c} $GREEN| \w\n$BRWHITE\\$ 
$WHITE"
+       PS1="$BRWHITE\h:$GREEN\u | $BRWHITE\`date +%c\` $GREEN| \w\n$BRWHITE\\$ 
$WHITE"
 fi
 
 export PS1

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to