Add the Go language on OS X.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2014-09-25 09:57:20 +02:00
parent bdc6a5856b
commit 2c4229696e
1 changed files with 8 additions and 0 deletions

View File

@ -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