Use exported SYS variable for dircolors config
This commit is contained in:
parent
253e7f69e2
commit
a3360917f0
1 changed files with 2 additions and 2 deletions
4
zshrc
4
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue