From a3360917f0bf5e4bc7f4c42ae68529eb3712362b Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 17 Apr 2012 23:17:51 -0700 Subject: [PATCH] Use exported SYS variable for dircolors config --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 7e5f359..1a18420 100644 --- a/zshrc +++ b/zshrc @@ -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