git-commit-vandalism/contrib/completion
Felipe Contreras 81f717bb26 completion: zsh: fix for command aliasing
A lot of people want to define aliases like gc='git commit', and zsh
allows that (when not using 'complete_aliases'), but we need to handle
services that call a function other than the main one.

With this patch we can do:

  compdef _git gc=git_commit

Additionally, add compatibility for Zsh Git functions which have the
form git-commit (with dash, not underscore).

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-10-28 14:30:59 -07:00
..
.gitattributes
git-completion.bash completion: zsh: fix __gitcomp_direct() 2020-10-26 15:23:26 -07:00
git-completion.tcsh
git-completion.zsh completion: zsh: fix for command aliasing 2020-10-28 14:30:59 -07:00
git-prompt.sh completion: prompt: fix color for Zsh 2020-10-28 14:30:59 -07:00