Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
$+var and (P) flag
- X-seq: zsh-workers 44367
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: $+var and (P) flag
- Date: Mon, 27 May 2019 21:45:55 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=kfEHOkqGtx1Rp+F4IwAxMnY85oKj697VDdnHe9/nxpE=; b=jZ/249HA6FKHOJLMrm6dvUsRpvNXNIh1hKufx0KFAzTVdg+lyvSdUJ92TOof8Ocn4O I0Yx59Zq91GDe7PHoKNLUbDBuCJFB6DLdhul8vecDbi5LcYVCeSUyn/HsQmavJVONebM /yWxM+8eYOOH2Tw9wfaClEUI6ILM1p64FOGg2Sp9LuONtyS9T00Mqnmf89GdlNzXTBOs R0ia52vsHr3uwPaPmG4t/2c1jc5sw/lS3OKKvWsQNiT9pzV1G39jNQR9atJihi5V7b3a o2LfMMRt+jetiqe/NAYaLUPVuCdfZNJlRcqvAWoav22DelkLosouP0s2VYmtElzJ66nD jp+w==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
simple test:
a=1
varname='+a'
echo ${(P)varname}
yields empty output. Is there any way to use the $+var syntax with (P) flag?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author