Fix zsh completion colors

This commit is contained in:
Eryn Wells 2013-04-02 09:37:33 -07:00
parent b49586946e
commit 7461ce7c8f

8
zshrc
View file

@ -150,6 +150,8 @@ function configure_completion #{{{
zstyle ':completion::complete:*' use-cache 1 zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache zstyle ':completion::complete:*' cache-path ~/.zsh/cache
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
# For rm, cp, and mv don't complete if file is on the line already # For rm, cp, and mv don't complete if file is on the line already
zstyle ':completion:*:rm:*' ignore-line yes zstyle ':completion:*:rm:*' ignore-line yes
zstyle ':completion:*:cp:*' ignore-line yes zstyle ':completion:*:cp:*' ignore-line yes
@ -167,6 +169,10 @@ function configure_completion #{{{
# Show a pretty menu of killable processes # Show a pretty menu of killable processes
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:*:kill:*' menu yes select zstyle ':completion:*:*:kill:*' menu yes select
# Complete man pages by section
zstyle ':completion:*:manuals' separate-sections true
zstyle ':completion:*:manuals.*' insert-sections true
} #}}} } #}}}
@ -193,7 +199,7 @@ function configure_vcs_info #{{{
configure_general configure_general
configure_omz #configure_omz
configure_zle configure_zle
configure_modules_and_functions configure_modules_and_functions
configure_zsh_aliases configure_zsh_aliases