The reason why osx does not run .bashrc in the terminal is that the

  
osx terminal opens a login shell, which means that ~/.bash_profile is read here, but ~/.bashrc is not read. To make ~/.bashrc read when opening the terminal, add this line to ~/.bash_profile [[ -s ~/.bashrc ]] && source ~/.bash This line means when .bashrc Source it when not empty
Copyright © Windows knowledge All Rights Reserved