mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 15:34:40 +01:00
boost git completion speed
This commit is contained in:
parent
c3ba09d859
commit
1fd6906c71
1 changed files with 5 additions and 0 deletions
5
zshrc
5
zshrc
|
|
@ -48,6 +48,11 @@ HISTFILE=~/.zsh_history
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
||||||
|
# git completion speed boost
|
||||||
|
__git_files () {
|
||||||
|
_wanted files expl 'local files' _files
|
||||||
|
}
|
||||||
|
|
||||||
zstyle ':completion:*' auto-description 'specify: %d'
|
zstyle ':completion:*' auto-description 'specify: %d'
|
||||||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||||
zstyle ':completion:*' format 'Completing %d'
|
zstyle ':completion:*' format 'Completing %d'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue