Junio C Hamano <gitster <at> pobox.com> writes:

> 
> Øystein Walle <oystwa <at> gmail.com> writes:
> 
> > Brandon Turner <bt <at> brandonturner.net> 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.
> >
> > Now that it has moved to the zsh-specific script you can achieve this more
> > simply by using cd -q.
> 
> 
> 
> Is the way we defeat CDPATH for POSIX shells sufficient, or does it
> also need to be customized for zsh?
> 

That is fine (to the best of my knowledge). If the current directory is not
part of CDPATH at all then Zsh will try the current directory first, so if
anything Zsh should fail more seldom here than others (but not *never*, so
the hack is still needed).

Øsse

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to