Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#262247: zsh: Improved make completion
- X-seq: zsh-workers 20278
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#262247: zsh: Improved make completion
- Date: Sat, 21 Aug 2004 18:47:22 -0700 (PDT)
- In-reply-to: <20040821180920.GA24266@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040730101751.GA11905@xxxxxxxxx> <20040730153054.GA4059@xxxxxxxxxxx> <20040730165133.GL12279@xxxxxxxxx> <20040818150736.GI4753@xxxxxxxxx> <20040821180920.GA24266@xxxxxxxxx>
- Reply-to: zsh-workers@xxxxxxxxxx
[Dropped bugs.debian.org]
On Sat, 21 Aug 2004, Wayne Davison wrote:
> Also, feel free to suggest how to improve it (for instance, I'd like to
> know if the eval statements can be replaced with something else).
Let's see ...
eval val=\${$var}
... I believe that's ...
val=${(P)var}
... and ...
eval $var=\$val
... can be ...
: ${(P)var::=$val}
... but I'm not sure that last is any better than the eval.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author