From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27864 invoked by alias); 15 Jul 2013 21:06:58 -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: 17880 Received: (qmail 13591 invoked from network); 15 Jul 2013 21:06:42 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.212.169 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=by79v3xQ37FybH+lrbcaLvR0sJz01PoSjPS9sqEiAfg=; b=nmQs2s6NHhZK4P1ilqHCQJOsp3Rc95Mf7naRwYP2ybticiNqH8XPHa+gUoK4nz5VN/ Y+/IXUlZ4yxTRUQ3k4v4L0LBOZvMahKfXonQlhonQjeWQwIU1t8JuF4w52Od9Fii2RDB SXsd0UOxN/3bjDaKwdiGjDeArq7xP4Eqr7Lz3jskfuvKYbtjMbGB+BCIe4I6p66Mkc1Q /ABCZxR85nhTtkgiPKsVf/kC9rAvxB0AzPxQXNO2EDLbQRYzswWcgfVD4Otl1CgdCR42 ceOiplCmPtoUpL53G5hAh7uDOkLyy6BbtZa9i5QAdKr7DVfa8GG1p41IR0CcgKkRaJyz Zr/A== X-Received: by 10.194.158.130 with SMTP id wu2mr33364268wjb.12.1373921905449; Mon, 15 Jul 2013 13:58:25 -0700 (PDT) Message-ID: <51E4626E.8050301@gmail.com> Date: Mon, 15 Jul 2013 22:58:22 +0200 From: Piotr Karbowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130703 Thunderbird/17.0.7 MIME-Version: 1.0 To: zsh-users Subject: Re: zsh no longer inherit my $PATH. References: <51E45C6A.5070202@gmail.com> <51E45FF9.50908@gmail.com> In-Reply-To: <51E45FF9.50908@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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.