screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zsh under leopard, screen not executing zprofile, wiping PATH


From: Christian Ebert
Subject: Re: zsh under leopard, screen not executing zprofile, wiping PATH
Date: Fri, 21 Nov 2008 15:24:32 +0100
User-agent: Mutt/1.5.18 (2008-11-16)

* Aaron Davies on Thursday, November 20, 2008 at 23:51:31 +0800
> i have an old powerbook g4 which i recently upgraded (in place, not
> archive-and-install) from tiger to leopard. now, when i start screen,
> zsh apparently resets the PATH to the bare basic four directories
> (overriding the heavily customized and exported PATH from the parent
> shell, and then fails to read my .zprofile. it does read my .zshrc
> tho, as my aliases are all present. this worked fine in tiger, so
> presumably apple's done something screwy with screen and/or zsh in
> leopard. anyone have any clues?

I am fuming about this as well (for bash). The culprit is a
script /usr/libexec/path_helper that is called from
/etc/profile (for bash). This sort of reads from /etc/paths and
/etc/paths.d/*. The irony is that it forces /usr/local to the
last position ...

I resorted to removing the call to path_helper as my /etc/bashrc
then does what it should.

In case you're using screen+xterm+X11 you're in for a few
surprises as well :-(

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]