Skip to content

[pull] master from go-nv:master#86

Merged
pull[bot] merged 2 commits intoMu-L:masterfrom
go-nv:master
Jul 2, 2025
Merged

[pull] master from go-nv:master#86
pull[bot] merged 2 commits intoMu-L:masterfrom
go-nv:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jul 2, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.2)

Can you help keep this open source service alive? 💖 Please sponsor : )

dependabot bot and others added 2 commits July 2, 2025 07:46
Bumps [dawidd6/action-homebrew-bump-formula](https://github.com/dawidd6/action-homebrew-bump-formula) from 4 to 5.
- [Release notes](https://github.com/dawidd6/action-homebrew-bump-formula/releases)
- [Commits](dawidd6/action-homebrew-bump-formula@v4...v5)

---
updated-dependencies:
- dependency-name: dawidd6/action-homebrew-bump-formula
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The installation instructions say to make the shell init script execute the
output of `goenv init -`. That output contains this among other things:
```
export PATH="${GOENV_ROOT}/shims:${PATH}"
```
The main point of that line is to make the `go` command resolve to
`$GOENV_ROOT/shims/go` such that `goenv` has control over the default `go`.

The installation instructions later say to add this after the eval in order to
let "goenv manage GOPATH and GOROOT":
```
export PATH="$GOROOT/bin:$PATH"
export PATH="$PATH:$GOPATH/bin"
```

This effectively overrides the first line as `$GOROOT/bin` is also expected to
contain a `go` binary. However that binary is not controlled by `goenv`.
Furthermore AFAICT these two lines do not make "goenv manage GOPATH and GOROOT".

This has confused at least [one other user](#186 (comment)).

This change removes the section about GOROOT and GOPATH as I don't see why it
would belong in the goenv installation instructions.
@pull pull bot locked and limited conversation to collaborators Jul 2, 2025
@pull pull bot added the ⤵️ pull label Jul 2, 2025
@pull pull bot merged commit 30eab56 into Mu-L:master Jul 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant