Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in alias expansion
- X-seq: zsh-workers 37105
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug in alias expansion
- Date: Fri, 13 Nov 2015 17:03:24 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=1I4uZnTofa1xUr55UzJkK+WzNNdddqJaO87qpBWTDYc=; b=nEeR68X6k5m/PLNq86Q3AqJiV0I8eD0yrT5XTNiffHriuG7ZJsxJQgY05qgmaoWFlp OTJ4CeZKCnfvsc+r3LFTQq6pIbW1ZNJPLsPBdVRmF0JCHyvo3633g/n/49/DxvVaVwcb xMUojoF65DIgGVKaaHkWUPcUiQjkq03toVzALVIKBd1d953h5P/WTV6e99MpqECnrmwM lPcWj4C4iaiSNnLeqIYjjZZmK4su09k5vq8Su5g/vxQf0PM8etCKtE6O2A2sVAlQF8aF 9Tg1yamnc4FgLH5yafS/nO9PHFJ/qrHU6HT+rPc+2Y/ux/gDzhI66y9wjNgQ/1BrLDVS /JPw==
- In-reply-to: <CAFvQaj4AKN36Ntdxt0rNCqPxWFHtjLMt3zPK65y2Xf9G5iUfWA@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: <CAFvQaj4AKN36Ntdxt0rNCqPxWFHtjLMt3zPK65y2Xf9G5iUfWA@mail.gmail.com>
On Nov 13, 1:03pm, Kynn Jones wrote:
}
} % typeset -A frobozz
} % alias -g foo='echo xyz'
} % frobozz[$(foo)]=9
} zsh: not an identifier: frobozz[$(fooech9
Confirmed. This only occurs for assignments in command position:
torch% typeset frobozz[$(foo)]=9
torch% print ${(kv)frobozz}
xyz 9
torch%
Messages sorted by:
Reverse Date,
Date,
Thread,
Author