Merge pull request #1058 from tanzeeb/patch-1

Change default $GOPATH to $HOME/go
pull/1063/head
Nils Winkler 2017-10-14 17:53:26 +02:00 committed by GitHub
commit 41fe5953dd
1 changed files with 1 additions and 1 deletions

View File

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