Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Øystein Walle <hidden>
Date: 2016-06-15 23:02:41

Possibly related (same subject, not in this thread)

Junio C Hamano <gitster <at> pobox.com> writes:
Øystein Walle <oystwa <at> gmail.com> writes:
quoted
Brandon Turner <bt <at> brandonturner.net> writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help