Look at the bash manpage, search down to the INVOCATION section. The
rather amazingly complex rules for which files are sourced, in which
order etc. are described there. I think ~/.profile is skipped if
~/.bash_profile exists, although don't quote me on that.

If I want stuff to run no matter whether it's interactive or a login
shell or whatever, I create ~/.bash_both and source it from whichever
other dot files are appropriate.

-- 
Jon Dowland
http://jon.dowland.name/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to