mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 00:39:11 +01:00
parent
b94d9e26e5
commit
0b340bc3a5
@ -32,7 +32,7 @@ if [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
|||||||
(( $+commands[dircolors] )) && eval "$(dircolors -b)"
|
(( $+commands[dircolors] )) && eval "$(dircolors -b)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls --color -d . &>/dev/null && alias ls='ls --color=tty' || ls -G . &>/dev/null && alias ls='ls -G'
|
ls --color -d . &>/dev/null && alias ls='ls --color=tty' || { ls -G . &>/dev/null && alias ls='ls -G' }
|
||||||
|
|
||||||
# Take advantage of $LS_COLORS for completion as well.
|
# Take advantage of $LS_COLORS for completion as well.
|
||||||
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user