mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 02:18:01 +00:00
Allow .dir_colors to be a symlink
This commit is contained in:
parent
c667dd3ea6
commit
cc3b6e092e
@ -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 New Issue
Block a user