Only run the bash profile if we have a TERM.