zsh-workers
 help / color / mirror / code / Atom feed
* Unexpected foo==bar errors
@ 2016-02-07 15:57 Mikael Magnusson
  2016-02-07 19:06 ` Peter Stephenson
  2016-02-07 19:16 ` Bart Schaefer
  0 siblings, 2 replies; 9+ messages in thread
From: Mikael Magnusson @ 2016-02-07 15:57 UTC (permalink / raw)
  To: zsh workers

% 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-14 20:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07 15:57 Unexpected foo==bar errors Mikael Magnusson
2016-02-07 19:06 ` Peter Stephenson
2016-02-08  7:09   ` Bart Schaefer
2016-02-08  9:49     ` Peter Stephenson
2016-02-07 19:16 ` Bart Schaefer
2016-02-08  3:52   ` Mikael Magnusson
2016-02-08 18:45     ` Bart Schaefer
2016-02-08 19:16       ` Mikael Magnusson
2016-02-14 20:10         ` Failed process substitution on x=$~y (Re: Unexpected foo==bar errors) Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).