From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12914 invoked by alias); 26 Oct 2012 08:50:41 -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: 17350 Received: (qmail 26788 invoked from network); 26 Oct 2012 08:50:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 209.85.214.171 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=EOr8uvauUUla2VGxPbLWA/OIGCwSho1S5M2Fhr51430=; b=JKy8clhaGtuuth6hQmIhQ3SBKLG2Elg4BgrKQ6ACRxWTh7FWq7FfCjKRbgNVxbSCRN n05lhIlAz3fCF4ki+NJR2IdXhpw25qB5u/V9dMsgDZ1r/XVsm0VJRSRp00JetBt7diZL 5GfJyXiOZ2arTMcoOU8GCXsH4YV8yIJeZdFsrNXMiXRnkzMxXI1DM0PS02niWDj9iwn+ qg5SyqQ0dA3SsUO7jUtRVcYWRC3sbMEwfVU7BQpwoNIRdmJZGEc64CFik8WC82P3otr1 TpOTL+DQrMrXyJKy6z9iWoY099bvR7liutXOGrxCq7X9VbPm2JOmZo6Oh1wD7oQprxFq KZsg== MIME-Version: 1.0 X-Originating-IP: [80.239.194.50] In-Reply-To: <50897049.9040708@bernd-steinhauser.de> References: <5087FA6E.4070504@sharpsaw.org> <50880489.1030509@sharpsaw.org> <50897049.9040708@bernd-steinhauser.de> Date: Fri, 26 Oct 2012 09:42:11 +0100 Message-ID: Subject: Re: Gentoo startup bug From: Peter Stephenson To: zsh-users@zsh.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQk3IRtNadNLW9/aJXAiqImAp4aGG7s8iAxRjIRgy576ZBOG201EyzHU9+0lKB5WfJkQblXF On 25 October 2012 18:00, Bernd Steinhauser wrote: > I didn't look at Gentoo's zprofile in a few years, but even if (for whatever > reason), they would reset $path after ~/.zshenv has run I highly doubt that > your solution is desirable (Actually, it might be desirable to reset $path, > because it affects `zsh -f`, but I didn't invest a lot of thought into that > one.). > Most likely, you misunderstood or misinterpreted what zshenv is for. There > have been discussions about that topic zshenv vs. zshrc vs. zprofile on the > zsh lists, you might want to search the archives for that (also look at > zsh's manpage). > Or mind if I ask why you set your user changes of $path in ~/.zshenv rather > than ~/.zshrc (where it should be set, since you want it in interactive > shells). Without going into the details, there are perfectly good reasons for putting your path in .zshenv, such as having the same path in all instances of the shell. The main point is there's really no good argument for a distribution to trash a user's path. You simply can't guess how the many users of many different types are going to use the shell. I agree this bit is definitely wrong. It's a very different argument from, say, a specific site where you expect users to conform to a certain way of doing things. pws