Fix the bug with dircolor on mac
This commit is contained in:
parent
521e4de26d
commit
60f3c3b55e
|
@ -6,7 +6,7 @@ zstyle ':completion:*' auto-description 'specify: %d'
|
|||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||
zstyle ':completion:*' format 'Completing %d'
|
||||
zstyle ':completion:*' group-name ''
|
||||
if [ "$(uname 2> /dev/null)" != "Linux" ]; then
|
||||
if [ "$(uname 2> /dev/null)" = "Linux" ]; then
|
||||
zstyle ':completion:*' menu select=2 eval "$(dircolors -b)"
|
||||
fi
|
||||
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
||||
|
|
Loading…
Reference in New Issue