Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATH reordered when running zsh inside screen on Mac OS X Mountain Lion and MacPorts
- X-seq: zsh-users 17613
- From: Nikolai Weibull <now@xxxxxxxx>
- To: rahul <rahul2012@xxxxxxxxx>
- Subject: Re: PATH reordered when running zsh inside screen on Mac OS X Mountain Lion and MacPorts
- Date: Mon, 28 Jan 2013 11:08:13 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- 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==
- In-reply-to: <CACQNQ9OpCrRQT754wbs5LLBndFJsyebG-h1XB52WPaC-u537+Q@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CADdV=Mu+3ky43q0z20oc1Za9ZfPRFw52kxkB7PWxqO+FcLqeXQ@mail.gmail.com> <CACQNQ9OpCrRQT754wbs5LLBndFJsyebG-h1XB52WPaC-u537+Q@mail.gmail.com>
- Sender: nikolai.weibull@xxxxxxxxx
On Mon, Jan 28, 2013 at 10:33 AM, rahul <rahul2012@xxxxxxxxx> wrote:
> On Mon, Jan 28, 2013 at 2:45 PM, Nikolai Weibull <now@xxxxxxxx> 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’t, so it’s 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’t quite see why MacPort’s 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’d go into /etc/zprofile.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author