Consider this minimal .zshrc :
export CLICOLOR=1;
export LSCOLORS=exfxcxdxbxegedabagacad; # It is the default value on OSX, so this line can be omitted
autoload -Uz compinit
compinit
zstyle ':completion:*' list-colors 'exfxcxdxbxegedabagacad'
On OS X, ls uses colors if CLICOLOR is set to TRUE and the colors used are in LSCOLORS which default value is exfxcxdxbxegedabagacad.
Doing a ls will print directories in blue. But when doing cd + TAB, ZSH will propose completions with directories in red and in bold. What is the problem and how can I have the same colors for ZSH completion and ls?
Comments
Post a Comment