1
0
Fork 0

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

pull/593/head
eukaryote 11 years ago
parent bf9dbfd5b9
commit 97fa5a1dc3

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

Loading…
Cancel
Save