Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Directory completion acts as if CHASE_LINKS is set
- X-seq: zsh-workers 31698
- From: Jan Larres <jan@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Directory completion acts as if CHASE_LINKS is set
- Date: Thu, 05 Sep 2013 13:23:35 +1200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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