On Wed, Dec 18, 2002 at 02:51:22PM -0500, Bruce Park wrote: >Hello users, > >I posted a message regarding bash and what files it executes. Some replied >that I should read the invocation section of the bash man page. I've done >just that and while some questions are answered, others are not. >As far as I understand this, there are two ways of invoking bash. >1. interactive login shell or non-interactive with '--login' option >This will execute /etc/profile -> ~/.bash_profile -> ~/.bash_login -> >~/.profile > >2. non-interactive login shell >This will execute ~/.bashrc > >Now according to these rules and by using 'echo' statements in some files, >it was obvious that I was using the non-interactive login shell. My .bashrc >file does NOT contain anything that sets up a new PATH. So how is the PATH >env set? Is KDM somehow executing something that I'm not seeing? > >bp >
I wonder if having a .xsession file source .bash_profile would be the right way to achieve this? -- Peter Hicks GnuPG public key: http://jah.net/~petong/public_key.txt Key Fingerprint: 4E24 3C78 A165 537C 729C 8D25 3547 3CE9 9E7D 42B6 One observes the survivors, and learns from them. -Bene Gesserit Teaching -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]