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

Re: Recursive Completition



Am 19.08.2012 02:18, schrieb Bart Schaefer:
> Fortunately there's a way to move this out of the realm of expansion
> and into that of completion; to whit, simply assert that you want
> completion to act as if it were using glob patterns:
> 
> setopt globcomplete
> 
> Now when you try
> 
> ls **/Kern[tab]
> 
> the completion system behaves as if you'd inserted a * just before [tab],
> and offers you the list of matching items as choices.

Really? I tried this, and noticed you still have to enter the * before
the [tab].

The difference to noglobcomplete seems to be that now you can actually
choose a file via completion, whereas before it just pushed everything
onto the commandline.

- René



Messages sorted by: Reverse Date, Date, Thread, Author