Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion on cd
- X-seq: zsh-users 1287
- From: Thomas Koehler <thomas@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Completion on cd
- Date: Wed, 28 Jan 1998 10:31:26 +0100
- Cc: Wessel Dankers <wsl@xxxxxxxxx>
- In-reply-to: <Pine.LNX.3.96.980127202130.4232B-100000@xxxxxxxxxxxxxxxxxx>; from Wessel Dankers on Tue, Jan 27, 1998 at 11:45:38PM +0100
- References: <Pine.LNX.3.96.980127202130.4232B-100000@xxxxxxxxxxxxxxxxxx>
On Tue, Jan 27, 1998 at 11:45:38PM +0100, Wessel Dankers wrote:
> Hi!
>
> Exploring compctl, I wanted to do completion on cd. So I used the obvious
> command:
>
> compctl -g '*(-/)' cd
>
> which gives me what I want... almost. If I enter:
>
> cd .<TAB>
>
> I get no completions. OK, I thought, let's try a different approach.
What about
compctl -g '*(-/) .*(-/)' cd
This should work.
CU,
Thomas
Messages sorted by:
Reverse Date,
Date,
Thread,
Author