mirror of
https://github.com/kennyp/asdf-golang.git
synced 2024-10-06 04:32:07 +08:00
Document GOROOT initialization for bash
This commit is contained in:
parent
1a1ca4f738
commit
10971c9f53
@ -35,6 +35,9 @@ To set `GOROOT` in your shell's initialization add the following:
|
||||
**fish shell**
|
||||
`source ~/.asdf/plugins/golang/set-env.fish`
|
||||
|
||||
**bash shell**
|
||||
`. ~/.asdf/plugins/golang/set-env.sh`
|
||||
|
||||
## When using `go get` or `go install`
|
||||
|
||||
After using `go get` or `go install` to install a package you need to run `asdf reshim golang` to get any new shims.
|
||||
|
Loading…
Reference in New Issue
Block a user