Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Directory completion
- X-seq: zsh-users 1886
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: gossamer@xxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Directory completion
- Date: Mon, 26 Oct 1998 19:02:27 -0800
- In-reply-to: <slrn73aa9c.7jf.gossamer@xxxxxxxxxxxxxx>
- References: <slrn73aa9c.7jf.gossamer@xxxxxxxxxxxxxx>
On Oct 27, 2:00am, Gossamer wrote:
> Subject: Directory completion
>
> compctl -g '*(/)' c
>
> but it chokes on symlinks. How do I get it to recognize symlinked
> directories too?
There's a whole thread about this in the zsh-users archive. Go to
http://www.zsh.org/cgi-bin/mla/wilma/users
and search for
completion on cd
The short answer is
compctl -g '*(D-/)' cd
Leave out the D if you don't want to complete directories whose names
start with a "." character.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author