Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _expand doesn't do brace expansion?
- X-seq: zsh-workers 11928
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: _expand doesn't do brace expansion?
- Date: Thu, 15 Jun 2000 12:58:15 +0200 (MET DST)
- In-reply-to: Sven Wischnowsky's message of Thu, 15 Jun 2000 12:45:22 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I wrote:
> It simply gives up.
>
> With `a{b,c}<TAB>' the completion code would have to generate the
> matches for `ab' and `ac', then built the intersection to get the
> suffixes (and prefixes if there's a suffix, i.e. the middle-strings)
> which are in both sets (in all n sets, actually). And that mey be
> combined with arbitrarily complicated match specs. Frightening.
>
> Or have I missed something?
Errr, sorry. With `a{{c,d},' it could work, of course. But it still
gives up, hm.
About the other thing, a careful `eval exp=(...)' could do the job
(avoiding error messages and such).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author