Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: expansion
- X-seq: zsh-workers 11933
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: expansion
- Date: Thu, 15 Jun 2000 15:32:41 +0000
- In-reply-to: <200006151515.RAA11404@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200006151515.RAA11404@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Jun 15, 5:15pm, Sven Wischnowsky wrote:
} Subject: Re: PATCH: Re: expansion
}
} > a(<tab> and you will get '_expand:78: bad pattern: a(' because of the
} > lack of a closing bracket.
}
} It doesn't anymore, (e) is silent nowadays. By using eval we could get
} that, though (that's why I said `careful').
Something like this:
eval exp\=\( ${${(q)exp}:gs/\\{/{/:gs/\\}/}/} \)
I haven't figured out where the right place to put that is, though. I
tried a couple of different spots in _expand and they both caused brace
*completion* to stop working, even though the word on the line didn't
change.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author