Subject: Unexpected foo==bar errors
From: Mikael Magnusson <[email-masked]>
To: zsh workers <[email-masked]>
Date: Sun, 7 Feb 2016 16:57:06 +0100
List-Id: Zsh Workers List <zsh-workers.zsh.org>

% foo==bar
zsh: bar not found

This happens even with globassign and magicequalsubst turned off.

A comparison,

% foo='*bar'
% baz=$~foo
% echo $baz
*bar

% foo='=bar'
% baz=$~foo
zsh: bar not found

And how I happened upon this:
% tar tf =(foo) <tab>
_tar:70:  not found

I always thought of EQUALS expansion as a form of globbing; should it
be enabled in these contexts even though regular globbing isn't?
(
_tar:70 is
tf=${~words[3]}
)

-- 
Mikael Magnusson