Add interactive check to .bash{_profile,rc}.

It seems that when running with rsync, omitting this check causes stty errors.