added GOPATH

This commit is contained in:
Steffen Vogel 2016-04-16 10:18:14 +02:00
parent 76ad5c05a6
commit 7858dc8100

View file

@ -1,4 +1,12 @@
export PATH=$PATH:~/bin/scripts:~/bin
export GOPATH=~/build/go/
if [ -d ~/bin ]; then
export PATH=$PATH:~/bin/scripts:~/bin
fi
if [ -d $GOPATH/bin ]; then
export PATH=$PATH:$GOPATH/bin
fi
# OS X stuff if availabe
if [[ "$OSTYPE" == "darwin"* ]]; then