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

Re: `expand' style with prefix and matchers



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