From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8520 invoked by alias); 28 Jan 2013 10:33:52 -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: 17612 Received: (qmail 9566 invoked from network); 28 Jan 2013 10:33:40 -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=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.210.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=hOpxd+6ndI62UHVZFkIorby/G1SIStoi8FBtyLJsnxo=; b=lLrd+y07DeG0SJQwcMZHllNAw3MyZiVBcdWv96g7meAarWpA/w6lmXEUVY4ipqkdsk FPhXzpjQhRm6wicA2a5s0IR2JHBwb397yRUnYA2FJHuCZoww8YDo6vQb5jXYvNsPT7mU iyoZGpvESz36TuwteuINNUSujRfmmGi2C/GKV1TH+wofEPmT++3Q3Irj8ILTjTw78uU8 HmDgaekCpQxRxz/RVwDCw4lNOXgmLHUZIZZahVIDS/6Iust3iA2lYPxWQiDSQJGrev3Y IsP6BbkB3zQQOpqbj6vFQp9kcfsS5nzB2V5Y0uNzggWV5DLS1WzxLx37QoF46cPh9rG8 HoPA== X-Received: by 10.50.151.211 with SMTP id us19mr4660387igb.84.1359365626747; Mon, 28 Jan 2013 01:33:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: rahul Date: Mon, 28 Jan 2013 15:03:26 +0530 Message-ID: Subject: Re: PATH reordered when running zsh inside screen on Mac OS X Mountain Lion and MacPorts To: Nikolai Weibull Cc: Zsh Users Content-Type: multipart/alternative; boundary=e89a8f3b9d5f4d59ef04d455f9c9 --e89a8f3b9d5f4d59ef04d455f9c9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jan 28, 2013 at 2:45 PM, Nikolai Weibull wrote: > Hi! > > For some reason, my PATH is being reordered when running zsh 5.0.2 > inside screen 4.0.3 on Mac OS X Mountain Lion, installed via MacPorts. > I=E2=80=99ve tried investigating what change made this happen, but have = so > far failed. Has anyone happened upon this problem and know of a fix? > I=E2=80=99ve tried running bash under screen and it doesn=E2=80=99t seem = to change the > order of PATH and, as far as I can tell, this didn=E2=80=99t occur before= I > upgraded to 5.0.2 (from zsh-devel? (which was at 5.0.0?), can=E2=80=99t > remember). > I was having this problem a month or so back while running some scripts that executed other extermal programs. (I am using latest homebrew zsh in tmux in Mountain Lion but I think that is immaterial in my case). I can't remember specifics but I just did some searches in my system. I use zpresto. It contains a file: runcoms/zshenv which i think is what was resetting my path. I believe I corrected the order there and now things are working. There's a line starting with : path=3D( You can search for that in your system and see if this has any relevance to your problem. HTH --=20 rahul --e89a8f3b9d5f4d59ef04d455f9c9--