Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `expand' style with prefix and matchers
- X-seq: zsh-workers 16010
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: `expand' style with prefix and matchers
- Date: Thu, 11 Oct 2001 11:21:29 +0200
- In-reply-to: <10961.1002721146@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <15300.14000.293820.150108@xxxxxxxxxxxxxxxxxx> <10961.1002721146@xxxxxxx>
Peter Stephenson wrote:
> ...
> >
> > I was slightly irritated at first, too. But then... the match spec
> > that makes h-b-12-p match isn't the first on in your matcher-list
> > style, right? What happens is that _path_files collects the matching
> > prefixes for the non-matching suffixes every time, in this case for
> > the first match spec where h-b-12-p doesn't match. And then the expand
> > style says to accept them. So we should only accept them when we are
> > trying the last spec from the matcher-list style. At least that sounds
> > sensible, doesn't it?
>
> Sounds perfectly reasonable to me, anyway. Works fine.
I've now committed it -- I wanted to do that yesterday but my mail
didn't come back, then I had to leave in a hurry and forgot.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author