Charles Philip Chan wrote:

> Do you know of any shell other than t/csh that does not read
~/.profile?

bash does not read ~/.profile if it finds ~/.bash_profile

Just a note: bash (and, maybe, some other popular shells)
distinguishes between
1. interactive login shell
2. interactive, but not login shell
3. non-interactive shell

The files it reads upon initialization differ in all 3 cases.
So I should have written something like "when bash is going
to read user profile file, it first goes for ~/.bash_profile,
and if it finds it, it does not read any more user profile files".

I found that on many system a display manager (xdm) starts a shell
that is not interactive at all, so neither ~/.bashrc nor ~/.bash_profile
is read before the system X session script ( Xsession ) is executed.
This might explain why sourcing GNUstep.sh in ~/.bashrc had no effect
on applications launched in Xsession.


Tima.


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to