summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2020-10-27 20:07:00 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-28 14:30:59 -0700
commit35e29fbce6bbddf9a74d85ec1541ef806b6f08a8 (patch)
tree7339501d55ca2bf5e2315cfc9b647419f7335624 /contrib/completion
parentcompletion: zsh: simplify direct compadd (diff)
downloadtgif-35e29fbce6bbddf9a74d85ec1541ef806b6f08a8.tar.xz
completion: zsh: trivial cleanup
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index 3689bcbd6c..234e4278a2 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -136,7 +136,7 @@ __gitcomp_file ()
{
emulate -L zsh
- compadd -p "${2-}" -f -- ${(f)1} && _ret=0
+ compadd -f -p "${2-}" -- ${(f)1} && _ret=0
}
__git_zsh_bash_func ()