Fix the dircolors for macos

This commit is contained in:
Sameer Rahmani 2020-08-19 13:06:45 +01:00
parent 34bb45d67d
commit 2255ee3441
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2 eval "$(dircolors -b)"
if [ "$(uname 2> /dev/null)" != "Linux" ]; then
zstyle ':completion:*' menu select=2 eval "$(dircolors -b)"
fi
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s