Utilize compinit caching
Substantial speedup
This commit is contained in:
parent
019f27d538
commit
5e6e338807
1 changed files with 10 additions and 1 deletions
11
zsh/.zshrc
11
zsh/.zshrc
|
@ -47,7 +47,16 @@ fi
|
|||
# completion
|
||||
autoload -U compinit
|
||||
autoload bashcompinit && bashcompinit
|
||||
compinit
|
||||
|
||||
autoload compinit -Uz
|
||||
setopt EXTENDEDGLOB
|
||||
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
|
||||
compinit
|
||||
else
|
||||
compinit -C
|
||||
fi
|
||||
unsetopt EXTENDEDGLOB
|
||||
|
||||
setopt completeinword
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue