diff --git a/etc/git-extras-completion.zsh b/etc/git-extras-completion.zsh index 51ab77d33..8272ff71d 100644 --- a/etc/git-extras-completion.zsh +++ b/etc/git-extras-completion.zsh @@ -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' \