From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25124 invoked by alias); 18 Dec 2016 15:54:33 -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: X-Seq: 22231 Received: (qmail 14747 invoked from network); 18 Dec 2016 15:54:33 -0000 X-Qmail-Scanner-Diagnostics: from mta03.eastlink.ca 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(24.224.136.9):SA:0(-3.8/5.0):. Processed in 1.41805 secs); 18 Dec 2016 15:54:33 -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=-3.8 required=5.0 tests=RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.9 as permitted sender) X-Authority-Analysis: v=2.2 cv=ZvqvEJzG c=1 sm=1 tr=0 a=ZhtwYq7EX15Sxy9BcbfpZQ==:117 a=ZhtwYq7EX15Sxy9BcbfpZQ==:17 a=N659UExz7-8A:10 a=b--fUT8YHiGY57tIGhoA:9 a=pILNOxqGKmIA:10 X-EL-IP-NOAUTH: 24.207.24.148 Message-id: <5856B133.9010602@eastlink.ca> Date: Sun, 18 Dec 2016 07:54:27 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: Daniel Shahaf Cc: zsh-users@zsh.org Subject: Re: trapped in bash References: <58540944.3030706@eastlink.ca> <20161216215117.GF2023@pug.qqx.org> <58546D36.5050908@eastlink.ca> <161216150556.ZM4016@torch.brasslantern.com> <58559FC0.3080501@eastlink.ca> <161217124354.ZM7815@torch.brasslantern.com> <5855BEF2.6090208__18199.534857604$1482015164$gmane$org@eastlink.ca> <20161218150628.GB9158@fujitsu.shahaf.local2> In-reply-to: <20161218150628.GB9158@fujitsu.shahaf.local2> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 12/18/2016 07:06 AM, Daniel Shahaf wrote: > Ray Andrews wrote on Sat, Dec 17, 2016 at 14:40:50 -0800: >> Ah ... it's the stock files in /etc/zsh, I renamed the directory and >> everything is as I expect. > If you just rename the directory, it'll be recreated the next time you > upgrade your zsh package (which is probably very soon). Sure, that's to be expected. > You could > instead 'setopt NO_GLOBAL_RCS' in .zshenv. I'll look into that, thanks. Meanwhile just shooting the directory was easy enough to understand. But as I said I want to take a look at those half a dozen various ifs ands buts and maybes as to the startup files, right now one plain old .zshrc seems to do everything nicely however. BTW, as to the 'file not found' thing last time, not that this is worth any bother, but surely the shell knows that it has found its target file vs. not being able to run it for some secondary reason? zsh and bash seem to have the same message there, as I found trying to start zsh from bash, or any of my 32 bit binaries from zsh under 64 bit Debian. Would it be doable to distinguish between *really* 'not found' and 'can't run this binary'? If nothing else it would have stopped me from having to ask that question :-/