Skip to content

Commit

Permalink
completion: zsh: don't override suffix on _detault
Browse files Browse the repository at this point in the history
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 <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed May 3, 2013
1 parent 9a3e36c commit 6606a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ _git ()
emulate ksh -c __${service}_main
fi

let _ret && _default -S '' && _ret=0
let _ret && _default && _ret=0
return _ret
}

Expand Down

0 comments on commit 6606a69

Please sign in to comment.