Allow .dir_colors to be a symlink
This commit is contained in:
parent
c667dd3ea6
commit
cc3b6e092e
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ if [[ ${(@M)${(f)"$(ls --version 2>&1)"}:#*(GNU|lsd) *} ]]; then
|
|||
if (( ! $+LS_COLORS )); then
|
||||
# Try dircolors when available
|
||||
if is-callable 'dircolors'; then
|
||||
eval "$(dircolors --sh $HOME/.dir_colors(.N))"
|
||||
eval "$(dircolors --sh $HOME/.dir_colors(N))"
|
||||
else
|
||||
export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue