Use exported SYS variable for dircolors config

This commit is contained in:
Eryn Wells 2012-04-17 23:17:51 -07:00
parent 253e7f69e2
commit a3360917f0

4
zshrc
View file

@ -110,8 +110,8 @@ HISTFILE="$HOME/.zhistory"
#[ -n "$DISPLAY" ] && alias -s dvi='evince'
# Set up dircolors
if [ -e $HOME/.dircolors/$sys.cfg ]; then
dircolors=$HOME/.dircolors/$sys.cfg
if [ -e $HOME/.dircolors/$SYS.cfg ]; then
dircolors=$HOME/.dircolors/$SYS.cfg
else
dircolors=$HOME/.dircolors/default.cfg
fi