* Scripts not finding scripts
@ 2013-06-27 2:14 meino.cramer
2013-06-27 2:51 ` Phil Pennock
2013-06-27 8:08 ` René Neumann
0 siblings, 2 replies; 4+ messages in thread
From: meino.cramer @ 2013-06-27 2:14 UTC (permalink / raw)
To: zsh-users
Hi,
On my recent Gentoo box there was installed zsh 5.0.2
(x86_64-pc-linux-gnu) on 26.6.
Now, when I call a certain script, which works before
fine, it does not find another script called from this script.
Both scripts are installed at ~/bin/. and found when called
from the commandline somewhere (that is $PATH is setup correctly)
Unfortunately I have now ideas, what cause this behaviour.
What do I have to change to get back the behaviour as it was before
zsh 5.0.2 ?
Best regards,
mcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Scripts not finding scripts
2013-06-27 2:14 Scripts not finding scripts meino.cramer
@ 2013-06-27 2:51 ` Phil Pennock
2013-06-27 8:08 ` René Neumann
1 sibling, 0 replies; 4+ messages in thread
From: Phil Pennock @ 2013-06-27 2:51 UTC (permalink / raw)
To: meino.cramer; +Cc: zsh-users
On 2013-06-27 at 04:14 +0200, meino.cramer@gmx.de wrote:
> Unfortunately I have now ideas, what cause this behaviour.
Is $PATH/$path being overriden in /etc/zsh/zshenv or somesuch?
-Phil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Scripts not finding scripts
2013-06-27 2:14 Scripts not finding scripts meino.cramer
2013-06-27 2:51 ` Phil Pennock
@ 2013-06-27 8:08 ` René Neumann
2013-06-27 10:34 ` Mikael Magnusson
1 sibling, 1 reply; 4+ messages in thread
From: René Neumann @ 2013-06-27 8:08 UTC (permalink / raw)
To: meino.cramer; +Cc: zsh-users
Am 27.06.2013 04:14, schrieb meino.cramer@gmx.de:
> Hi,
>
> On my recent Gentoo box there was installed zsh 5.0.2
> (x86_64-pc-linux-gnu) on 26.6.
>
> Now, when I call a certain script, which works before
> fine, it does not find another script called from this script.
> Both scripts are installed at ~/bin/. and found when called
> from the commandline somewhere (that is $PATH is setup correctly)
>
> Unfortunately I have now ideas, what cause this behaviour.
>
> What do I have to change to get back the behaviour as it was before
> zsh 5.0.2 ?
See https://bugs.gentoo.org/show_bug.cgi?id=19924#c39
In short: Previous behavior was broken, now it's fixed:
/etc/zsh/zprofile was renamed to /etc/zsh/zshenv and is thus sourced
_every time_. Hence it may do something to $PATH which is not expected.
- René
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Scripts not finding scripts
2013-06-27 8:08 ` René Neumann
@ 2013-06-27 10:34 ` Mikael Magnusson
0 siblings, 0 replies; 4+ messages in thread
From: Mikael Magnusson @ 2013-06-27 10:34 UTC (permalink / raw)
To: Zsh Users
On 27 June 2013 10:08, René Neumann <lists@necoro.eu> wrote:
> Am 27.06.2013 04:14, schrieb meino.cramer@gmx.de:
>> Hi,
>>
>> On my recent Gentoo box there was installed zsh 5.0.2
>> (x86_64-pc-linux-gnu) on 26.6.
>>
>> Now, when I call a certain script, which works before
>> fine, it does not find another script called from this script.
>> Both scripts are installed at ~/bin/. and found when called
>> from the commandline somewhere (that is $PATH is setup correctly)
>>
>> Unfortunately I have now ideas, what cause this behaviour.
>>
>> What do I have to change to get back the behaviour as it was before
>> zsh 5.0.2 ?
>
> See https://bugs.gentoo.org/show_bug.cgi?id=19924#c39
>
> In short: Previous behavior was broken, now it's fixed:
> /etc/zsh/zprofile was renamed to /etc/zsh/zshenv and is thus sourced
> _every time_. Hence it may do something to $PATH which is not expected.
>
> - René
>
Maybe in another 10 years they'll change it back to zprofile again? Sigh.
--
Mikael Magnusson
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-27 10:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 2:14 Scripts not finding scripts meino.cramer
2013-06-27 2:51 ` Phil Pennock
2013-06-27 8:08 ` René Neumann
2013-06-27 10:34 ` Mikael Magnusson
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).