From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14241 invoked by alias); 29 Jul 2011 04:04:55 -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: 16156 Received: (qmail 5786 invoked from network); 29 Jul 2011 04:04:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110728210438.ZM24370@torch.brasslantern.com> Date: Thu, 28 Jul 2011 21:04:38 -0700 In-reply-to: Comments: In reply to TJ Luoma "Re: how to refer to basename of $0" (Jul 28, 9:39pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: how to refer to basename of $0 MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jul 28, 9:39pm, TJ Luoma wrote: } } Is it even possible to set NAME in .zsh* (and have it return } 'test.zsh' or are they called too early in the process? This is sounding awfully familiar. Oh, it was on zsh-workers, where some of the -users crowd would not have seen it. Starts here: http://www.zsh.org/mla/workers/2011/msg00159.html Interesting branch begins here: http://www.zsh.org/mla/workers/2011/msg00163.html Particularly: http://www.zsh.org/mla/workers//2011/msg00172.html