It should be noted that I am on MacOS 12.0.1 and I'm looking to add some persistent environment variables.
I have seen posts about creating and adding to ~/.bashrc
or ~/.bash_profile
but I'm not sure which is which. That being said, anything I add there only works after I use . ./bash_profile
or source ./bash_profile
once the terminal loads. I have also tried adding source ./bash_profile
to either bashrc or bash_profile but that gives me a open too many files error.
Thanks in advance