Skip to content

Commit 6606a69

Browse files
felipecgitster
authored andcommitted
completion: zsh: don't override suffix on _detault
zsh is smart enough to add the right suffix while completing, there's no point in trying to do the same as bash. Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9a3e36c commit 6606a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ _git ()
198198
emulate ksh -c __${service}_main
199199
fi
200200

201-
let _ret && _default -S '' && _ret=0
201+
let _ret && _default && _ret=0
202202
return _ret
203203
}
204204

0 commit comments

Comments
 (0)