zsh-users
 help / color / mirror / code / Atom feed
From: rahul <rahul2012@gmail.com>
To: Nikolai Weibull <now@bitwi.se>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: PATH reordered when running zsh inside screen on Mac OS X Mountain Lion and MacPorts
Date: Mon, 28 Jan 2013 15:03:26 +0530	[thread overview]
Message-ID: <CACQNQ9OpCrRQT754wbs5LLBndFJsyebG-h1XB52WPaC-u537+Q@mail.gmail.com> (raw)
In-Reply-To: <CADdV=Mu+3ky43q0z20oc1Za9ZfPRFw52kxkB7PWxqO+FcLqeXQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

On Mon, Jan 28, 2013 at 2:45 PM, Nikolai Weibull <now@bitwi.se> 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’ve tried investigating what change made this happen, but have so
> far failed.  Has anyone happened upon this problem and know of a fix?
> I’ve tried running bash under screen and it doesn’t seem to change the
> order of PATH and, as far as I can tell, this didn’t occur before I
> upgraded to 5.0.2 (from zsh-devel? (which was at 5.0.0?), can’t
> 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=(
You can search for that in your system and see if this has any relevance to
your problem.
HTH
-- 
 rahul

  reply	other threads:[~2013-01-28 10:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28  9:15 Nikolai Weibull
2013-01-28  9:33 ` rahul [this message]
2013-01-28 10:08   ` Nikolai Weibull
2013-01-28 20:22     ` Phil Pennock
2013-01-28 22:44       ` Lawrence Velázquez
2013-01-29  6:21     ` Lawrence Velázquez
2013-01-29  8:08       ` Lawrence Velázquez
2013-01-29 11:25         ` Nikolai Weibull
2013-01-29 11:24       ` Nikolai Weibull
2013-01-28  9:58 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACQNQ9OpCrRQT754wbs5LLBndFJsyebG-h1XB52WPaC-u537+Q@mail.gmail.com \
    --to=rahul2012@gmail.com \
    --cc=now@bitwi.se \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).