Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: =cmd cancels the whole code block
- X-seq: zsh-workers 20582
 
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
 
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
 
- Subject: Re: =cmd cancels the whole code block
 
- Date: Wed, 24 Nov 2004 11:50:55 -0600
 
- In-reply-to: <20041124155833.GA4697@sc>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
- References: <20041124155833.GA4697@sc>
 
In the last episode (Nov 24), Stephane Chazelas said:
> ~$ 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
Any failed filename expansion will do this, btw:
% echo ~Idontexist || echo blah
zsh: no such user or named directory: Idontexist
% echo ~+666 || echo blah
zsh: not enough directory stack entries.
-- 
	Dan Nelson
	dnelson@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author