Re: [PATCH] completion: ignore chpwd_functions when cding

2014-10-08 Thread Brandon Turner
On Wed, Oct 8, 2014 at 1:12 PM, Junio C Hamano wrote: > > > Can you mention that this is abomination limited only to zsh > somewhere in the log message? Or does bash share the same glitch? > > If this is limited to zsh, I wonder if we can take advantage of the > fact that we have git-completion.b

Re: [PATCH] completion: ignore chpwd_functions when cding

2014-10-08 Thread Junio C Hamano
Brandon Turner writes: > Software, such as RVM (ruby version manager), may set chpwd functions > that result in an endless loop when cding. chpwd functions should be > ignored. > > Signed-off-by: Brandon Turner > --- Can you mention that this is abomination limited only to zsh somewhere in the

[PATCH] completion: ignore chpwd_functions when cding

2014-10-07 Thread Brandon Turner
Software, such as RVM (ruby version manager), may set chpwd functions that result in an endless loop when cding. chpwd functions should be ignored. Signed-off-by: Brandon Turner --- For an example of this bug, see: https://github.com/wayneeseguin/rvm/issues/3076 contrib/completion/git-completi