mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
Merge pull request #680 from lhernanz/master
Preserve existing user commands in zsh completion
This commit is contained in:
commit
6aecc2b9fa
|
|
@ -427,7 +427,9 @@ _git-undo(){
|
|||
'(--hard -h)'{--hard,-h}'[wipes your commit(s)]'
|
||||
}
|
||||
|
||||
zstyle ':completion:*:*:git:*' user-commands \
|
||||
zstyle -g existing_user_commands ':completion:*:*:git:*' user-commands
|
||||
|
||||
zstyle ':completion:*:*:git:*' user-commands $existing_user_commands \
|
||||
alias:'define, search and show aliases' \
|
||||
archive-file:'export the current head of the git repository to an archive' \
|
||||
authors:'generate authors report' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue