When I bought my Mac, the
.bash_login file wasn’t there. I need to create it for myself so that I could put
functions, etc. in it.
Here are the steps if you would like to create one:
- Start up Terminal
cd ~/to go to your home folder
touch .bash_profileto create your new file.
.bash_profilewith your favorite editor (or you can just type
open -e .bash_profileto open it in TextEdit.
. .bash_profileto reload
.bash_profileand update any alias you add.