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

Re: tab-completion from wildcard



Maurice wrote:
> Hi,
> 
> if I press TAB after a '*', it doesn't insert the matching files
> immediately. Instead I have to press TAB several times. I hope this
> example makes it clear:

zstyle ':completion::*:expand:*' tag-order all-expansions

>   % touch a b c
>   % echo *<TAB>

If you type Ctrl-X h at that point instead of Tab, it tells you that
the things it completes have the tags `all-expansions' `expansions' and
`original'. The tag-order style above restricts it to just all-expansions.

Oliver



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