On Wed, Jan 07, 2004 at 01:20:28PM -0700, s. keeling wrote: > Re-reading it now, this chapter appears very confusing. According to > it, the automagically bit refers to .bashrc being run for sub-shells. > Then it tells you to put as little as possible in .bash_profile and > source .bashrc from the former.
I definitely agree with that; I've been doing it for years and it's always worked very well. For interactive things (especially those that produce output, or you'll break e.g. scp), you can wrap them in a guard like this: case $- in *i*) # interactive-only stuff goes here ;; esac Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]