zsh-users
 help / color / mirror / code / Atom feed
From: Piotr Karbowski <jabberuser@gmail.com>
To: zsh-users <zsh-users@zsh.org>
Subject: Re: zsh no longer inherit my $PATH.
Date: Mon, 15 Jul 2013 22:58:22 +0200	[thread overview]
Message-ID: <51E4626E.8050301@gmail.com> (raw)
In-Reply-To: <51E45FF9.50908@gmail.com>

On 07/15/2013 10:47 PM, Piotr Karbowski wrote:
> On 07/15/2013 10:45 PM, TJ Luoma wrote:
>>
>>
>> On 15 Jul 2013, at 15:32, Piotr Karbowski wrote:
>>
>> > For some reason zsh scripts no longer preserve $PATH that I modify in
>> > my .zshrc.
>> >
>> > if I do: echo -e '#!/bin/zsh \n echo $PATH' >test.zsh && chmod +x
>> > test.zsh && ./test.zsh the $PATH is altered, it wasnt as-is
>> >
>> > moving PATH altering part to .zshenv does 'fix' it but I would like to
>> > know how can I restore old behivor.
>> >
>> > If I run script with /bin/sh shebang, it will preserve my $PATH and
>> > this is exacly what I want, but with zsh, which is essential.
>>
>>
>> Are you on a Mac? If so, try renaming /etc/zprofile to /etc/zshenv
>>
>>
>
> Nope, Gentoo.

Ignore, gentoo bug 19924

-- Piotr.


  reply	other threads:[~2013-07-15 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 20:32 Piotr Karbowski
     [not found] ` <BA95BFDC-5F12-4582-B71B-9ABCD8C7B6B3@gmail.com>
2013-07-15 20:47   ` Piotr Karbowski
2013-07-15 20:58     ` Piotr Karbowski [this message]
2013-07-15 22:23       ` Bart Schaefer
2013-07-15 21:11 ` Lawrence Velázquez

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=51E4626E.8050301@gmail.com \
    --to=jabberuser@gmail.com \
    --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).