Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG: cd '' doesn't produce an error
- X-seq: zsh-workers 22117
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Ulrik Haugen <qha@xxxxxxxxxxxxxx>
- Subject: Re: BUG: cd '' doesn't produce an error
- Date: Wed, 4 Jan 2006 09:32:39 -0800
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20051230162841.GA30078@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <87zmmvxl3g.fsf@xxxxxxxxxxxxxxx> <20051221102159.44d9f5ca.pws@xxxxxxx> <877j9mycf9.fsf@xxxxxxxxxxxxxxx> <20051230162841.GA30078@xxxxxxxxxxxxx>
On Fri, Dec 30, 2005 at 08:28:41AM -0800, Wayne Davison wrote:
> The documentation claims that this error should cause the shell to
> exit, but in my testing it did not do so without the err_exit option
> also being set.
It was silly of me to not notice that the reason for this was that the
error was occurring in a subshell (inside the backticks), so that
subshell was exiting, not the main shell.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author