From 60f3c3b55ee58bbd3491a92447956da41b100719 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 13 Jul 2023 10:32:11 +0100 Subject: [PATCH] Fix the bug with dircolor on mac --- lib/completion.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/completion.zsh b/lib/completion.zsh index d3db78d..3ca29c9 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -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}