Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: =cmd cancels the whole code block



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