Skip to content

Commit 1ba645a

Browse files
committed
fix(completions): prevent duplicate --help in top-level zsh completion
1 parent a261d1f commit 1ba645a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

completions/git-wt.zsh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ _git-wt() {
2525
_arguments -C \
2626
'(- *)'{-h,--help}'[Show help]' \
2727
'1: :->command' \
28-
'*:: :->args'
28+
'*:: :->args' \
29+
&& return
2930

3031
case $state in
3132
command)

0 commit comments

Comments
 (0)