Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion on cd



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