I've been adding some alias's and .bash_profile functions of late. But i've noticed my mac terminal is not auto-loading the .profile file and thus the alias's don't work.
I have restarted terminal and the mac itself.
I can get it to work by doing this, but it's a sucky work around:
. .profile
Anyone had this before / know how I can fix it up.
My .profile file contains the following:
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias testsite="cd /Applications/MAMP/htdocs/testsite/"
alias mamp="cd /Applications/MAMP/"
alias htdocs="cd /Applications/MAMP/htdocs/"
alias deploy="git push"
alias deploymaster="git push parent master"
alias pullmaster="git pulll parent master"
.bash_profile overwrites .profile so what I added must be added to .bash_profile instead, when done so works perfectly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With