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

Re: Completion on cd



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