From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14313 invoked by alias); 10 Feb 2011 16:39:03 -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: 28729 Received: (qmail 12030 invoked from network); 10 Feb 2011 16:39:00 -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 klanderman.net does not designate permitted sender hosts) From: Greg Klanderman To: zsh-workers@zsh.org Subject: Re: loading user startup files for zsh scripts Reply-To: gak@klanderman.net Date: Thu, 10 Feb 2011 11:30:29 -0500 In-Reply-To: <110209085358.ZM29014@torch.brasslantern.com> (Bart Schaefer's message of "Wed, 09 Feb 2011 08:53:58 -0800") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.17 (linux) References: <19792.22365.139876.599478@gargle.gargle.HOWL> <110207213357.ZM22407@torch.brasslantern.com> <20110208172056.6a985c90@pwslap01u.europe.root.pri> <110208205856.ZM24066@torch.brasslantern.com> <110209085358.ZM29014@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> On February 9, 2011 Bart Schaefer wrote: > Put something in /etc/zshenv (or whatever path has been compiled for > that on your system) that stashes $0 in another parameter. Unfortunately I cannot modify /etc/zshenv on the one to two hundred people's machines that are using our shared zsh startup files at work; I can suggest they modify ~/.zshenv but it's unlikely to be widely followed, which is why I was looking for a solution in the shared file sourced by ~/.zshenv, but it sounds like that just can't work. thanks, Greg