Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Directory completion
- X-seq: zsh-users 1884
- From: "Michael Barnes" <mibarnes@xxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Directory completion
- Date: Mon, 26 Oct 1998 21:23:57 -0500
- Cc: gossamer@xxxxxxxxxxxxxx
- In-reply-to: <slrn73aa9c.7jf.gossamer@xxxxxxxxxxxxxx>; from Gossamer on Tue, Oct 27, 1998 at 02:00:13AM +0000
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxxx, gossamer@xxxxxxxxxxxxxx
- References: <slrn73aa9c.7jf.gossamer@xxxxxxxxxxxxxx>
try:
compctl -g '*(-/)' c cd pushd
On Tue, Oct 27, 1998 at 02:00:13AM +0000, Gossamer wrote:
>
> I have cd aliased to 'c', and wanted to get it so it only completed
> on directories ... the obvious seemed to be this:
^^^^^^^^^^^^^^
Geesh, and i though i was lazy :)
Mike
>
> compctl -g '*(/)' c
>
> but it chokes on symlinks. How do I get it to recognize symlinked
> directories too? I have quite a lot of them around.
>
>
> bekj
>
> --
> : --Neophilic-Hacker-Grrl-Geek-Eclectic-Gay-Disabled-Boychick--
> : gossamer@xxxxxxxxxxxxxx http://www.tertius.net.au/~gossamer/
> : If you can spend a perfectly useless afternoon in a perfectly
> : useless manner, you have learned how to live. -- Lin Yutang
Messages sorted by:
Reverse Date,
Date,
Thread,
Author