Add the Go language on OS X.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
bdc6a5856b
commit
2c4229696e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user