Fix the bug with dircolor on mac

This commit is contained in:
Sameer Rahmani 2023-07-13 10:32:11 +01:00
parent 521e4de26d
commit 60f3c3b55e
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
1 changed files with 1 additions and 1 deletions

View File

@ -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}