Getting zsh in honor of dircolors-solarized

So, I came across this mismatch between the way my ls display colors through this:

https://github.com/seebi/dircolors-solarized

Meanwhile, and how the colors of the zsh auto-complete screen are displayed. I will do this with the image:

enter image description here

Welcome in advance to understand how to put up with these two areas of directory listings!

+4
source share
1 answer

list-colorsis the style used by Zsh to set completion colors, it has its own fun syntax, use the following to set it according to yours LS_COLORS:

# colored completion - use my LS_COLORS
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

By the way, this line goes straight from the zsh manual, man zshalland then does a search LS_COLORS.

+8
source

Source: https://habr.com/ru/post/1539844/


All Articles