You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ It does not attempt to manage when version is `system`.
63
63
(`goenv rehash` when `eval $(goenv init -)` was previously executed).
64
64
Configured via `GOENV_GOPATH_PREFIX=<your prefix>`.
65
65
E.g `GOENV_GOPATH_PREFIX=/tmp`.
66
+
Default managed `GOPATH` is `$HOME/go`.
66
67
; Ref: https://github.com/syndbg/goenv/pull/70
67
68
* Add `--only-manage-paths` option to `goenv-sh-rehash` (`goenv rehash` when `eval $(goenv init -)` was previously executed) to skip calling `goenv-rehash` and update shims.
68
69
Instead it only updates managed `GOPATH` and `GOROOT` env variables.
@@ -75,6 +76,11 @@ It does not attempt to manage when version is `system`.
75
76
This means that it'll export and manage `GOROOT` and `GOPATH` env vars.
76
77
It does not attempt to manage when version is `system`.
77
78
; Ref: https://github.com/syndbg/goenv/pull/70
79
+
* Changed `goenv-exec` now to set `GOPATH` and `GOROOT` environment variables before
80
+
executing specified cmd and args. Can be disable via `GOENV_DISABLE_GOPATH=1` and `GOENV_DISABLE_GOROOT=1`.
81
+
`GOPATH` can be configured with `GOENV_GOPATH_PREFIX`. E.g `GOENV_GOPATH_PREFIX=/tmp/goenv`.
0 commit comments