aboutsummaryrefslogtreecommitdiff
path: root/zsh/completion
blob: ce676bbac75cb32dfc2ad3913acebca6a08ebfeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# vim: filetype=zsh

# Command completion
autoload -U compinit; compinit
_comp_options+=(globdots) # With hidden files

zstyle ':completion:*' completer _extensions _complete _approximate

zstyle ':completion:*' menu select

zstyle ':completion:*:*:*:*:descriptions' format '%F{green}-- %d --%f'
zstyle ':completion:*:*:*:*:corrections' format '%F{yellow}!- %d (errors: %e) -!%f'
zstyle ':completion:*:*:*:*:messages' format ' %F{purple} -- %d --%f'
zstyle ':completion:*:*:*:*:warnings' format ' %F{red}-- no matches found --%f'
zstyle ':completion:*' group-name ''