Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: local/non-local and sub shell exit codes
- X-seq: zsh-users 23463
- From: dana <dana@xxxxxxx>
- To: zsh <zsh-users@xxxxxxx>
- Subject: Re: local/non-local and sub shell exit codes
- Date: Sun, 10 Jun 2018 08:46:53 -0500
- Cc: René Neumann <lists@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HAeJte4M1GHGvzo1sS+vaD+loxLVRldVOtEVBAFYqHo=; b=VGwQcz2ihyewRRv1cBOEVfGcjHvyaZV/cgXMI2FG00UHjznO5R1NvwhWzDJhZ5++/U 7jTz8mIo1Wi0Jt0tenNDu630TgVsk/VGQQpBzK8EvKdRIS33hMJnhyGTrEbgbo5oO5zi qUMAs4kihxY6adh4x1YT1/Vmn4zBiwYqoswGPwwiySEY4m3cGtVzjwl3Vl/Zl5W0vN/z 9ESXMo89OkpTN/tcrbAHL1IRa8bbW6I/Dn2r6J5Xk7G1Cu5wdJXEMyZSoEkZyyPDsORg 9CAG3O5wyiYu9j/UCdkX3MyxsUW924g4o2LXBeyRfJTtUcaCSNAxVExv0w8GJACA6R4t /mHQ==
- In-reply-to: <7f581992-e736-a801-9068-58902cba4953@necoro.eu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <80a94a63-2862-8ccc-99ca-399dd5def008@necoro.eu> <7f581992-e736-a801-9068-58902cba4953@necoro.eu>
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