Re: [PATCH v3] completion: ignore chpwd_functions when cding on zsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]