Trying to save an environmental variable.
cd ~ mkdir Projects export PROJDIR=/Users/David/Projects cd ~ cd $PROJDIR //can execute. cd .. open .bash_profile //was told this was the file you add the variable to.
Then terminal tells me there is nothing with that name. To check
And there are two files with bash .bash_history and .bashsessions .bash_history isn’t executable and when I open .bashsessions I’m not sure how I’d add
to the file. So that doesn't seem right either.