[Pkg-zsh-devel] Bug#793168: Bug#793168: zsh: expand-substitution-on-TAB broke for $(()) in 5.0.8

Andy Isaacson adi at hexapodia.org
Wed Jul 22 01:32:36 UTC 2015


On Wed, Jul 22, 2015 at 01:40:51AM +0200, Axel Beckert wrote:
> > It does still work right with "${VAR}" and "$[5+8]".
> 
> This very likely is related to or caused by the changed parsing of
> $((…)) in 5.0.8.

I read the changelog briefly before filing, but don't understand the
state of things well enough to point in particular ... and the
sourceforge git repo seems to be down (at least the web page giving the
URL is down) so I wasn't able to go read the diffs. :)

> I remember that there were also $((…)) related fixes after 5.0.8, but
> I need to check the details.
> 
> > seems like setopt might influence this behavior:
> 
> Likely, yes. But I can reproduce the issue here, too, with the same
> configuration as on 5.0.7.

Glad to hear it's not just me. :)

> Workaround for now: Use Ctrl-X * instead of Tab. This still seems to
> work.

Thanks!  The workaround I'm using for now is $[] which is semantically
equivalent enough for my needs.

-andy



More information about the Pkg-zsh-devel mailing list