fix utility module dircolors bug when launching zsh if SHELL is csh
This commit is contained in:
parent
bf9dbfd5b9
commit
97fa5a1dc3
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue