From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18748 invoked by alias); 10 Jun 2018 13:46:59 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23463 Received: (qmail 27425 invoked by uid 1010); 10 Jun 2018 13:46:59 -0000 X-Qmail-Scanner-Diagnostics: from mail-it0-f46.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.214.46):SA:0(-1.9/5.0):. Processed in 2.322893 secs); 10 Jun 2018 13:46:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIMWL_WL_MED,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HAeJte4M1GHGvzo1sS+vaD+loxLVRldVOtEVBAFYqHo=; b=UKeD+46ZV0qIWn5VN2CTqCn9hCCO8pEnk0KqUinrLAifyY5bShA1QcRuLKUgQCJjhX GIm81aAwRTBZ1lBTtWXT/P9MDl00cBPU0QFNwXv05UAI9uSdiuE+JsuK16Jne2A11ZHE joGPBduSBsGR2bL+Gp8zRfs8z/IVpJCEWC85PJwJRww/cVRkXzPxcSm5FqYX/LmpHNS3 pUeqN619LiKj/Z4O4Ap6tZtb9jpID2I5pa+awPUuaRGJ1zJoquL0JYK8FkQzkVjtDm0T AX+GMmYJNf8ZI2VgPjGd/H5eXxcXSGUQ5T7x2GPf+YHaEdLxZRykNqXbubS73GwHBAtV 55QA== X-Gm-Message-State: APt69E3D35uUJRDOiqX8VHNCEGZNfMGjhOheYr0nVhHO14Tn0kYtqkfQ C0fcR/YhJmkntQEfJhJ4QxfWV8g0BOw= X-Google-Smtp-Source: ADUXVKKM3X3RcG4FBOd5kKH9az+tIxxqR0EiA5TL07pd+ep+X5pchbXqk5PxJd67KsHVkj80FzD7cg== X-Received: by 2002:a24:987:: with SMTP id 129-v6mr7783203itm.136.1528638414613; Sun, 10 Jun 2018 06:46:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: local/non-local and sub shell exit codes From: dana In-Reply-To: <7f581992-e736-a801-9068-58902cba4953@necoro.eu> Date: Sun, 10 Jun 2018 08:46:53 -0500 Cc: =?utf-8?Q?Ren=C3=A9_Neumann?= Content-Transfer-Encoding: quoted-printable Message-Id: References: <80a94a63-2862-8ccc-99ca-399dd5def008@necoro.eu> <7f581992-e736-a801-9068-58902cba4953@necoro.eu> To: zsh X-Mailer: Apple Mail (2.3273) On 10 Jun 2018, at 08:34, Ren=C3=A9 Neumann 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