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

Re: Bug in alias expansion



On Sat, Nov 14, 2015 at 2:03 PM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Nov 14,  1:57pm, Kynn Jones wrote:
> }
> } Unfortunately, the assignment preceded by `typeset` fails under 5.0.7
> }
> } % alias -g foo='echo xyz'
> } % typeset frobozz[$(foo)]=9
> } zsh: no matches found: frobozz[xyz]=9
>
> That's just normal file globbing taking place:
>
> % noglob typeset frobozz[$(foo)]=9
>
> or
>
> % typeset "frobozz[($foo)]"=9

Thanks for the clarification.

I still find it disconcerting that file globbing would get in the way
under v. 5.0.7 but not under v. 5.1.



Messages sorted by: Reverse Date, Date, Thread, Author