* Q about matcher style
@ 2000-04-07 7:29 Andrej Borsenkow
0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 2000-04-07 7:29 UTC (permalink / raw)
To: ZSH workers mailing list
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.
-andrej
Have a nice DOS!
B >>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Q about matcher style
@ 2000-04-07 7:47 Sven Wischnowsky
0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-04-07 7:47 UTC (permalink / raw)
To: zsh-workers
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@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-07 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-07 7:29 Q about matcher style Andrej Borsenkow
2000-04-07 7:47 Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).