fix utility module dircolors bug when launching zsh if SHELL is csh

This commit is contained in:
eukaryote 2014-04-17 08:30:18 -07:00
parent bf9dbfd5b9
commit 97fa5a1dc3

View file

@ -66,9 +66,9 @@ if is-callable 'dircolors'; then
if zstyle -t ':prezto:module:utility:ls' color; then
if [[ -s "$HOME/.dir_colors" ]]; then
eval "$(dircolors "$HOME/.dir_colors")"
eval "$(dircolors -b "$HOME/.dir_colors")"
else
eval "$(dircolors)"
eval "$(dircolors -b)"
fi
alias ls="$aliases[ls] --color=auto"