From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6327 invoked by alias); 28 Jan 2013 10:39:09 -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: 17613 Received: (qmail 7090 invoked from network); 28 Jan 2013 10:39:06 -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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.214.175 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2t+/lrItaSipYfQZem6EaArgPUGxW5YPUL4y5OAbYCk=; b=0UwOZHkMQ/93lC9+1j868wNLLwowVozMQqwwROomHRNZnxa7C+AT3ocnoZTUTtsgbv XSweusQW3cVEyMXAYumRbv7VUjKbgP0ALS99b/SVRy2aZw5HwBN71d0qxZwi4i6GVkfN CjZZMfkA64lY9O2Rj0+FKmfzF8a0K8cTKpBtXscuxoVY0PI7Ik94aYpxBfFXWHYX74Or BpZ8cJkkBs9x4mxyr40euu0BZPltanGGx/Iz/F02zv4VhJ9cWipcNVW/eg+nz5utT33L doTLHBSbDK/OTXClaDqJcSFw7b4jRFI+Cvsgny5VDQgyDpBJjwxa+cerVVpDQoV1S3Oi GjTg== MIME-Version: 1.0 X-Received: by 10.60.30.42 with SMTP id p10mr10659193oeh.59.1359367693924; Mon, 28 Jan 2013 02:08:13 -0800 (PST) Sender: nikolai.weibull@gmail.com In-Reply-To: References: Date: Mon, 28 Jan 2013 11:08:13 +0100 X-Google-Sender-Auth: 5iUe5HxNwC1xGLyEVrgfYfDp-HU Message-ID: Subject: Re: PATH reordered when running zsh inside screen on Mac OS X Mountain Lion and MacPorts From: Nikolai Weibull To: rahul Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jan 28, 2013 at 10:33 AM, rahul wrote: > On Mon, Jan 28, 2013 at 2:45 PM, Nikolai Weibull wrote: >> For some reason, my PATH is being reordered when running zsh 5.0.2 > I was having this problem a month or so back > [...] > I use zpresto. I don=E2=80=99t, so it=E2=80=99s not that. I figured out what the problem was. /etc/zshenv on Mac OS X Mountain Lion calls a utility called path_helper. I for some reason only checked /etc/profile. I don=E2=80=99t quite see why MacPort=E2=80=99s zsh = checks /etc/zshenv instead of /opt/local/etc/zshenv (is this hard coded behavior in Zsh?), but there you go. Oh, and why /etc/zshenv in Mac OS X Mountain Lion modifies path in this way is way beyond me. In my world, that=E2=80=99d go into /etc/zprofile.