Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
=cmd cancels the whole code block
- X-seq: zsh-workers 20580
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: =cmd cancels the whole code block
- Date: Wed, 24 Nov 2004 15:58:33 +0000
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
~$ zsh -f
% a==a
zsh: a not found
% echo $?
1
% a==a || a==b
zsh: a not found
% a==a; echo $?
zsh: a not found
% (a==a); echo $?
zsh: a not found
1
% {
cursh> a==a
cursh> echo foo
cursh> echo bar
cursh> }
zsh: a not found
%
should it be considered as a normal behavior?
Revealed following a recent usenet thread in comp.unix.shell.
For one trying to do:
{ EDITOR==emacs || EDITOR==vi; } 2> /dev/null
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author