Skip to content

Commit

Permalink
refactor: '$GOPATH/bin' is added to '$PATH' by default. #128
Browse files Browse the repository at this point in the history
  • Loading branch information
voidint committed Dec 27, 2023
1 parent 40a5ad2 commit 67e9479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 67e9479

Please sign in to comment.