I'm running Catalina, 10.15.2, which uses the new zsh shell as a default. I've created my own .bash_profile file in my home directory and I'm able to initialize this .bash_profile by typing:
source .bash_profile
The problem is that I have to keep typing "source …" each time I open a new terminal shell. How do I default the shell to always use this .bash_profile file? Thanks!
Best Answer
zsh
uses different config files, see the 'STARTUP/SHUTDOWN FILES' section inman zsh
. You can run one ofto rename the file, see the man page or https://support.apple.com/en-us/HT208050 for the difference between these: