Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in alias expansion



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