Why does mac iterm and iterm2 not source .bashrc or .bash_profile?

6,839

The most possible reason is that your default bashrc file is ~/.profile. On my Mavericks with default bash v3., it happens to be like that.

Share:
6,839

Related videos on Youtube

WestCoastProjects
Author by

WestCoastProjects

R/python/javascript recently and before that Scala/Spark. Machine learning and data pipelines apps.

Updated on September 18, 2022

Comments

  • WestCoastProjects
    WestCoastProjects almost 2 years

    I have ready many posts related to login/non-login and interactive/non-interactive. It would be my understanding that .bashrc should be sourced from iterm - which is interactive logon shell.

    It is not (as evidenced by adding 'echo' statements to both of them).

    So then how to fix the userid to source .bash_profile and .bashrc?

  • WestCoastProjects
    WestCoastProjects almost 9 years
    bingo. that was confusing .