Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion on cd
- X-seq: zsh-users 1289
- From: Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: Completion on cd
- Date: Wed, 28 Jan 1998 10:50:49 +0000
- 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>
- Reply-to: Adam Spiers <adam.spiers@xxxxxxxxxxxx>
Wessel Dankers (wsl@xxxxxxxxx) wrote:
> 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.
Weird! When I use that compctl, cd .<TAB> /does/ give me
completions. Unfortunately cd <TAB> also includes all hidden
files in the completions list. Why is my behaviour different?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author