From: Junio C Hamano Date: Mon, 30 Jan 2012 18:52:22 GMT Subject: Re: [PATCH] completion: add new zsh completion Message-ID: <7vy5spauqh.fsf@alter.siamese.dyndns.org> In-Reply-To: <4F267AC9.1080407@viscovery.net> Johannes Sixt writes: >> Something along the lines of >> >> ZSH_VERSION='' . $(dirname ${funcsourcetrace[1]%:*})/git-completion.bash >> >> should do it (mostly untested, and written by a non-ZSH expert). > > Moreover, if zsh is POSIX compliant, the value of ZSH_VERSION will be an > empty string after this statement. That may or (more likely) may not be > what you want. As this split-file is about only zsh completion, it can be as non-POSIX as it wants, and it appears that zsh is not striving to be POSIX compliant, judging from Felipe's other messages. Whatever works for zsh is just fine.