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

Re: Completion for gzcat does not descend directories



Andrej Borsenkow wrote:

> As in subject. ^Xh lists all three standard tags, but if any *.gz file
> is foundm directories are not listed.
> 
> I'd expect it to suggest both files and directories.

You should tell it, then. From the docs:

zstyle ':completion:*:gzcat:*' file-patterns \ 
    '%p:globbed-files *(-/):directories' '*:all-files'

Or use _next_tags.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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