zshrc: A few changes for the sake of consistency
authorFrank Terbeck <ft@grml.org>
Thu, 28 Aug 2008 14:26:46 +0000 (16:26 +0200)
committerFrank Terbeck <ft@grml.org>
Thu, 28 Aug 2008 14:26:46 +0000 (16:26 +0200)
    + Use $'...' to manually define colors.
    + unset the newly introduced YELLOW and MAGENTA variables.

No *real* code changes here.

etc/zsh/zshrc

index 1914d39..45abfd1 100644 (file)
@@ -1026,8 +1026,8 @@ else
     GREEN=$'%{\e[1;32m%}'
     CYAN=$'%{\e[1;36m%}'
     WHITE=$'%{\e[1;37m%}'
-    MAGENTA='%{\e[1;35m%}'
-    YELLOW='%{\e[1;33m%}'
+    MAGENTA=$'%{\e[1;35m%}'
+    YELLOW=$'%{\e[1;33m%}'
     NO_COLOUR=$'%{\e[0m%}'
 fi
 
@@ -2334,7 +2334,7 @@ bk() {
 # }}}
 
 # {{{ make sure our environment is clean regarding colors
-for color in BLUE RED GREEN CYAN WHITE ; unset $color
+for color in BLUE RED GREEN CYAN YELLOW MAGENTA WHITE ; unset $color
 # }}}
 
 # source another config file if present {{{