From d511fa39fac9427b7b9bf266f51fa63a5ce25c6d Mon Sep 17 00:00:00 2001 From: Joe Rabinoff Date: Mon, 17 Feb 2020 16:38:58 -0500 Subject: [PATCH] Suppress unrecognized keys from LS_COLORS --- highlighters/files/files-highlighter.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/highlighters/files/files-highlighter.zsh b/highlighters/files/files-highlighter.zsh index b624fc4..11f997f 100644 --- a/highlighters/files/files-highlighter.zsh +++ b/highlighters/files/files-highlighter.zsh @@ -112,6 +112,7 @@ zsh_highlight_files_extract_ls_colors() case $key in di|fi|ln|pi|so|bd|cd|or|ex|su|sg|ow|tw) ZSH_HIGHLIGHT_FILE_TYPES[$key]=$val ;; + lc|rc|ec|rs|no|mi|do|st|ca|mh|cl) ;; # Recognized by LS_COLORS but not by us *) ZSH_HIGHLIGHT_FILE_PATTERNS+=("$key" "$val") ;; esac done