Re: [PATCH] completion: add new zsh completion
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jan 30, 2012, 08:39 UTC
- Message-ID
- <vpqwr89d1p7.fsf@bauges.imag.fr>
- In-Reply-To
- <1327881699-25461-1-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
> +ZSH_VERSION='' . /usr/share/git/completion/git-completion.bash
Probably stating the obvious, but this path shouldn't be hardcoded.
Something along the lines of
ZSH_VERSION='' . $(dirname ${funcsourcetrace[1]%:*})/git-completion.bashshould do it (mostly untested, and written by a non-ZSH expert).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/