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

Directory completion acts as if CHASE_LINKS is set



Hi,

I recently noticed that completion of directories acts as if the CHASE_LINKS option is set, that is if you are in a symlinked directory and you want to complete its siblings then it will complete using the physical siblings instead of the ones from the directory that the symlink resides in.

Here's an example. Note that neither CHASE_LINKS nor CHASE_DOTS is set.

$ zsh --version
zsh 5.0.2 (x86_64-pc-linux-gnu)
$ zsh -f
vanadis% tree -F
.
├── bar/
└── foo/
    ├── bar -> ../bar/
    └── baz/

4 directories, 0 files
vanadis% cd foo/bar
vanadis% cd ../[TAB]
bar/  foo/


Jan



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