mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +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
|
||||
compinit
|
||||
|
||||
# git completion speed boost
|
||||
__git_files () {
|
||||
_wanted files expl 'local files' _files
|
||||
}
|
||||
|
||||
zstyle ':completion:*' auto-description 'specify: %d'
|
||||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||
zstyle ':completion:*' format 'Completing %d'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue