You are not logged in.

#1 2007-02-07 12:05:58

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

zsh and /etc/profile

Hello,

I just tried to get zsh running "as i wish", this includes loading /etc/profile.
of some reason, /etc/profile isn't loaded using zsh. That's why some global environment variables are not set (ORACLE_HOME in example).

Does anyone have a suggestion how to get this loaded?

Appending /etc/profile to the .zshrc or .zprofile also doesn't seem to work.

Thanks,
STi


Ability is nothing without opportunity.

Offline

#2 2007-02-07 12:17:16

F
Member
Registered: 2006-10-09
Posts: 322

Re: zsh and /etc/profile

does running

$ source /etc/profile

help at all?

Offline

#3 2007-02-07 12:44:46

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: zsh and /etc/profile

zsh uses /etc/zsh/zprofile, methinks.

Offline

#4 2007-02-08 14:56:27

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 130

Re: zsh and /etc/profile

cd /etc; ln -s profile zprofile

Offline

Board footer

Powered by FluxBB