r1277 - trunk/etc

justin at linuxfromscratch.org justin at linuxfromscratch.org
Mon Dec 12 22:41:09 PST 2005


Author: justin
Date: 2005-12-12 23:41:08 -0700 (Mon, 12 Dec 2005)
New Revision: 1277

Modified:
   trunk/etc/bashrc
Log:
[trunk] Reverted PS1 variable changes in bashrc.

Modified: trunk/etc/bashrc
===================================================================
--- trunk/etc/bashrc	2005-12-13 06:38:37 UTC (rev 1276)
+++ trunk/etc/bashrc	2005-12-13 06:41:08 UTC (rev 1277)
@@ -16,9 +16,9 @@
 
 # Prompt
 if [ $EUID -eq 0 ] ; then
-	PS1="$BOLD\h:$RED\u | $BOLD\`date +%c\` $RED| \w$WHITE\n$BOLD\\$ $WHITE"
+	PS1="$BOLD\h:$RED\u | $BOLD\D{%c} $RED| \w$WHITE\n$BOLD\\$ $WHITE"
 else
-	PS1="$BOLD\h:$GREEN\u | $BOLD\`date +%c\` $GREEN| \w$WHITE\n$BOLD\\$ $WHITE"
+	PS1="$BOLD\h:$GREEN\u | $BOLD\D{%c} $GREEN| \w$WHITE\n$BOLD\\$ $WHITE"
 fi
 
 export PS1




More information about the livecd mailing list