diff --git a/tilde/bash_profile.bash b/tilde/bash_profile.bash index 9305cb3..20c72c1 100644 --- a/tilde/bash_profile.bash +++ b/tilde/bash_profile.bash @@ -75,6 +75,14 @@ for file in ~/dotfiles/includes/bash_{prompt,aliases,functions,git,completion}.b done unset file +if [ `uname` == 'Darwin' ]; then + export GOROOT="/usr/local/Cellar/go/1.3/libexec" + export GOPATH=$HOME/go + + launchctl setenv GOROOT $GOROOT + launchctl setenv GOPATH $GOPATH +fi + # Tell ls to be colourful export CLICOLOR=1