Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Q about matcher style
- X-seq: zsh-workers 10570
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Q about matcher style
- Date: Fri, 7 Apr 2000 09:47:18 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Fri, 7 Apr 2000 11:29:01 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> Is it possible to say "use these matcher(s) for all *paths* completion"?
>
> The problem is:
>
> - I can set to for all tags - but do not want to :-)
> - else I have to explicitly set it for every tag/alias ... and this I
> want to avoid as well.
You should only need the three tags used by _files and the `files' tag
that might be used if _path_files is called by a function that doesn't
use its own tag. So:
zstyle ':completion:*:(directories|(globbed-|all-|files))' matcher ...
plus all the file-patterns tags and labels you defined yourself.
I know that this is a bit ugly, if I could see a better way, I would
have done that some time ago, but...
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author