Nick Dokos writes: > Rainer M Krug writes: > >> Fatma Başak Aydemir writes: >> >>> I do not know the reasons but I had the same problem in the past on OS X. >> >> In from Yosemite onwards, programs started from the finder / spotlight / >> gui (however you call this) do *not* inherit from the .bashrc >> anymore. This caused many problems. > > I can understand not inheriting from .bashrc: shells should only use > that for interactive initializations (aliases and such). Right. > > $HOME/.profile however is another matter: it is read by a login shell > (in a non-graphical or console environment) and so its settings are > inherited by everybody started from that login shell: that's where env > variables are supposed to be defined and exported. Desktop environments > have to go to some lengths to read it and initialize things but as I > mentioned in my previous message, they *do* do that (on Linux - although > the mechanism varies by distro, hence the "mess" comment). > > If OS X does not use $HOME/.profile to initialize the environment of programs > (even in the graphical enviroment), that seems to me to be a serious > bug. Aparently it is not. Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982