Makes completion look better with descriptions etc
This commit is contained in:
parent
4ede5bf7bd
commit
7c7c6c2045
1 changed files with 15 additions and 1 deletions
|
@ -3,8 +3,22 @@ fpath=("${ZSH_FOLDER}completion" $fpath)
|
|||
# Make completion work
|
||||
autoload -U compinit
|
||||
zstyle ':completion:*' menu select
|
||||
# Auto complete with case insenstivity
|
||||
## Auto complete with case insenstivity
|
||||
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
|
||||
# Completion style
|
||||
zstyle ':completion:*:matches' group 'yes'
|
||||
zstyle ':completion:*:options' description 'yes'
|
||||
zstyle ':completion:*:options' auto-description '%d'
|
||||
zstyle ':completion:*:corrections' format ' %F{green}-- %d (errors: %e) --%f'
|
||||
zstyle ':completion:*:descriptions' format ' %F{yellow}-- %d --%f'
|
||||
zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f'
|
||||
zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'
|
||||
zstyle ':completion:*:default' list-prompt '%S%M matches%s'
|
||||
zstyle ':completion:*' format ' %F{yellow}-- %d --%f'
|
||||
zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*' verbose yes
|
||||
|
||||
zmodload zsh/complist
|
||||
compinit
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue