Frage

So I'm faced up with this discrepancy between the way my ls displays colors via this:

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

Between that, and how zsh tab autocompletion display colors. I'll make this clear with an image:

enter image description here

Cheers in advance for any insights as to how to reconcile these two realms of listing directories!

War es hilfreich?

Lösung

list-colors is the style used by Zsh to set completion colors, it has its own funny syntax, use the following to set it to match your LS_COLORS:

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

BTW, this line comes straight from the zsh manual, man zshall and then search for LS_COLORS.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top