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

PATCH: _cd and $PWD in $cdpath



If you enable grouping and complete cd while in some directory from cdpath, everything is
listed twice (once as local and once as cdpath). In case of heavily populated directory it
is annoying. This simplistic fix removes $PWD from $cdpath before completing. It won't
work for symlinks in general case - but, hopefully, it is rare. Real solution would
require stat'ing every file in cdpath.

It is attached because of really long lines

-andrej

Have a nice DOS!
B >>

Attachment: _cd.diff
Description: Binary data



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