Added condition to only source .bashrc if shell in interactive mode.