Merge pull request #1058 from tanzeeb/patch-1

Change default $GOPATH to $HOME/go
This commit is contained in:
Nils Winkler
2017-10-14 17:53:26 +02:00
committed by GitHub

View File

@@ -7,5 +7,5 @@ about-plugin 'go environment variables & path configuration'
export GOROOT=${GOROOT:-$(go env | grep GOROOT | cut -d'"' -f2)}
pathmunge "${GOROOT}/bin"
export GOPATH=${GOPATH:-"$HOME/.go"}
export GOPATH=${GOPATH:-"$HOME/go"}
pathmunge "${GOPATH}/bin"