Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unexpected ${%F{}} evaluation
- X-seq: zsh-workers 33886
- From: Marc Finet <m.dreadlock@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: Unexpected ${%F{}} evaluation
- Date: Sat, 6 Dec 2014 21:03:15 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Lrr2e/x3EXG2e4oY5cCoVerdyCyZ/U5LhcnaPE+EyZc=; b=idvVIva0rvdpOn9CY4zQZraKo52u5p2RlEwFd5ixquiVMQaFUwWJZ6l69RhAdeEKQc XlFDAHzjkTYlM5cXKCh4vQjo8eNxvT5V8bvtX3vo2rB7vIfQDmtOdJSTKFEoEPzcGeuV ku3AvKGY2zQVYFEPc5/HAMLiWXT4VStr0E8iHwaWy5VaKjr8XQZ/OXDpu1GICRhB7OfM MkoB1cNrJ7zVNa3CIj/xGV7JL7d3ZLaS2SzhZYRiAck7rdvifv05wn0Uwx0Tn13v0XWD W8OgVClPiOhNWrhhX2YUKIfc5fNq+eMQVMeW1rU1yp/FyoSNgllnNsxTVatcJnnkAARS Y96A==
- In-reply-to: <CAHYJk3RU5=7TXDvKYXjs7Xe+UDTZNo20T9ZRi8990u9Uk08brg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20141203222002.48d9e22b@mlap.lactee> <CAHYJk3RU5=7TXDvKYXjs7Xe+UDTZNo20T9ZRi8990u9Uk08brg@mail.gmail.com>
Thanks Michael and Bart; I just find the \} solution unbalanced and was
"hoping" for a bug. I finally did something like this:
x="%F{red}"; y="${(%):-$x}XX"; echo $y
Marc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author