Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zstyle cd ignore-parents broken? (Zsh-5.0.5)



On Mar 3,  4:00pm, Francisco Borges wrote:
}
} On Zsh-5.0.5, completing on "mv foo ../[TAB]" parent dir is ignored as
} expected. If I try "cd ../[TAB]" completion list includes the parent dir.

Hmm.  It seems we get to choose between this bug and the bug described
in http://www.zsh.org/mla/workers/2013/msg00736.html ... because the
fix for the latter is what breaks the former.  _path_files needs the
original $PREFIX to implement ignore-parents, but follows symlinks badly
if the prefix isn't pre-expanded and moved to the -W argument.

If anyone can suggest an approach that allows both to work, I'm all ears.



Messages sorted by: Reverse Date, Date, Thread, Author