Why .bash_profile not loading in terminal MAC OS?

I have created a .bash_profile to append path variable to it at location ~/.bash_profile but it does not load by default when I reopen my terminal. I have to run below command every time I open a new terminal window to load my path variables from .bash_profile.

source $HOME/.bash_profile

Is there any way to load .bash_profile by default on MAC.

0 Answers
Ask question now
Never leave your website again in search of code snippets by installing our chrome extension.