Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _man igores global matchers
- X-seq: zsh-workers 14532
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: _man igores global matchers
- Date: Tue, 29 May 2001 14:18:49 +0200 (MET DST)
- In-reply-to: <000001c0e837$aa4c3420$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Andrej Borsenkow wrote:
> I am not sure, where to put it in; I was under impression that _wanted does
> it automagically?
Look at _man, you'll see things like:
rep=( $manpath/(sman|man|cat)*/${~approx}$PREFIX${~star}$SUFFIX.*(:t) )
I.e., it does its matching/filtering itself, before the completion code
has a chance to use any match specs.
That's ugly. But caching could be pretty costly. Maybe we should make
it configurable, mentioning the problem with match specs?
Any other ideas, anyone?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author