completion: fix warning for zsh
commit9cd67bd2efe98968531cb15cb0d32abdc79e06c1
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 29 Nov 2012 08:20:57 +0000 (29 09:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Nov 2012 16:47:51 +0000 (29 08:47 -0800)
tree2d7a2a4fb1c6becd6139f252c2b3229d894eb4fc
parentbad27f4151fc2ba2fe583a5361f568cd1a881cc9
completion: fix warning for zsh

Otherwise the user might get something like:

  git-completion.sh:2466: command not found: compdef

If this script is loaded before compinit. The script would work either
way, but let's not be more annoying to the user.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash