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

Re: BUG: cd '' doesn't produce an error



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