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

Re: login, path and ~/.profile



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/



Reply to: