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

Re: global enviroment var. etc/profile or where?



On Thu, 29 Mar 2007, Fernando Cacciola wrote:

Hi again,

I need to setup a global (all users) enviroment variable (for compilation),
which must be available both in terminal sessions as well as KDE (so the
"makefile" works both when calling make from a bash shell or KDevelop).

First I've put in ~/.bashrc, but then is not there when compiling from
KDevelop.

So I've moved it to /etc/profile, but now is nowhere (echo $var shows
nothing)

Where should I put it?

TIA

Fernando Cacciola



I'd try out /etc/environment

---
Human beings were created by water to transport it uphill.




Reply to: