From 67e947916569ea0c0a1ad467be0138fc422a17e9 Mon Sep 17 00:00:00 2001 From: voidint Date: Wed, 27 Dec 2023 21:56:08 +0800 Subject: [PATCH] refactor: '$GOPATH/bin' is added to '$PATH' by default. #128 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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