Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Terminal doesn't seem to be pulling through .profile automatically [closed]

Tags:

terminal

macos

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"
like image 820
David Avatar asked Apr 30 '12 08:04

David


1 Answers

.bash_profile overwrites .profile so what I added must be added to .bash_profile instead, when done so works perfectly.

like image 73
David Avatar answered Oct 15 '22 07:10

David