updated bash files so that they run on both login and interactive shells
, added TERM setting as it was needed for linux and tmux