Subject: Re: Unexpected foo==bar errors
From: Peter Stephenson <[email-masked]>
To: zsh workers <[email-masked]>
Date: Sun, 7 Feb 2016 19:06:01 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Sun, 7 Feb 2016 16:57:06 +0100
Mikael Magnusson <[email-masked]> wrote:
> % foo==bar
> zsh: bar not found
> 
> This happens even with globassign and magicequalsubst turned off.

The option is called "equals".  "magicequalsubst" is now redundant; it
allowed

typeset foo=<whatever>

to exapnd <whatever>, which would include =bar if "equals" was also set.
It's redundant because the reserved word interface does that anyway, and
in other shells the equivalent of the non-reserved-word interface
doesn't do it either.

pws