diff --git a/install.sh b/install.sh index b479c02..f509d98 100755 --- a/install.sh +++ b/install.sh @@ -54,7 +54,7 @@ main() { #!/bin/sh # g shell setup export GOROOT="${HOME}/.g/go" -export PATH="${HOME}/.g/bin:${GOROOT}/bin:$PATH" +export PATH="${HOME}/.g/bin:${GOROOT}/bin:${GOPATH}/bin:$PATH" export G_MIRROR=https://golang.google.cn/dl/ EOF