On Thu, Nov 20, 2008 at 11:51:31PM +0800, Aaron Davies wrote:
> 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?
[...]

Only login zsh read the .zprofile, so zsh shouldn't read
zprofile as screen doesn't call shells as login shells (with the
first character of their argv[0] being "-").

The environment shouldn't be reset though. Have you checked
~/.zshenv and /etc/zshenv? You could try adding a "set -x" to
your ~/.zshenv, or just do a <Ctrl-A>:zsh -x do see what's going
on.

-- 
Stéphane


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to