From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9377 invoked by alias); 25 Feb 2016 09:43:54 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38023 Received: (qmail 9116 invoked from network); 25 Feb 2016 09:43:51 -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 autolearn=ham autolearn_force=no version=3.4.1 X-AuditID: cbfec7f5-f79b16d000005389-f9-56ceca79b420 Date: Thu, 25 Feb 2016 09:33:44 +0000 From: Peter Stephenson To: Zsh list Subject: Re: ZSH_SCRIPT Message-id: <20160225093344.0d2499d5@pwslap01u.europe.root.pri> In-reply-to: <160224143153.ZM28994@torch.brasslantern.com> References: <22221.59800.803540.618862@lwm.klanderman.net> <160224143153.ZM28994@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsVy+t/xy7qVp86FGXzoUbI42PyQyYHRY9XB D0wBjFFcNimpOZllqUX6dglcGee+f2cpuMla8fjueaYGxiMsXYycHBICJhIvtl5lhrDFJC7c W8/WxcjFISSwlFFi/oaJjBDODCaJ7U/fsUI45xglmre9gCo7yyjxf/MvJpB+FgFVidNXrzKC 2GwChhJTN80Gs0UElCSOfnjOCmILC4hLXPwwkx3E5hWwl7g6dx1YDaeAlcSKt5fB7hASyJJ4 f+EfmM0voC9x9e8nJoj77CVmXjnDCNErKPFj8j2wH5gFtCQ2b2tihbDlJTaveQs1R13ixt3d 7BMYhWchaZmFpGUWkpYFjMyrGEVTS5MLipPSc430ihNzi0vz0vWS83M3MUIC+usOxqXHrA4x CnAwKvHwMvw8GybEmlhWXJl7iFGCg1lJhNdy77kwId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rwz d70PERJITyxJzU5NLUgtgskycXBKNTA6/3P8MuXedrm1e/Rn/1aforTlwimhlrK7uXf6DWYd 598hwZD+NEXlM3ONIE+I0/HEkO1t0ttVM72jzeujTzxf12tt/sJw+j9dHbZO3rnNJg+kL1wt Lln8TX4Nb5VnWZbkL1lGv/lOBUE3ZGe3hykndU8I28Hy3qphMlPRj5NztL8GLvz3Z5cSS3FG oqEWc1FxIgDFeLSrZAIAAA== On Wed, 24 Feb 2016 14:31:53 -0800 Bart Schaefer wrote: > On Feb 24, 12:34pm, Greg Klanderman wrote: > } > } Sorry I dropped the ball on this topic back in early 2011, see > } discussion in thread 'loading user startup files for zsh scripts', > > I don't think anyone else remembered that this had been discussed before. > The choice of ZSH_SCRIPT as a parameter name was convergent evolution. > > Personally I'd be fine with ZSH_SCRIPT being unset at the top level, but > there are considerations of POSIX_ARGZERO etc. now which didn't exist at > the time of the 2011 thread. The variable is new --- we could have a different one to make the POSIX $0 permanently available. pws