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

Re: local/non-local and sub shell exit codes



On 10 Jun 2018, at 08:34, René Neumann <lists@xxxxxxxxx> wrote:
>Ok, I have to take it back. Found the following in the manpage (after
>discovering, that 'local' is an alias for 'typeset'):

FYI, although that note was only added in 2016*, the behaviour is definitely
older than that. That's how it works in bash as well, and shellcheck warns you
about it by default.

* A result of this discussion: http://www.zsh.org/mla/workers/2016/msg00140.html

dana



Messages sorted by: Reverse Date, Date, Thread, Author