version-fox / version-fox/vfox
[BUG]: MacBook M1 Pro maven 使用 -g 设置全局无效,在当前终端窗口有效,新建终端窗口后失效
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
Version
0.2.6
OS
macOS
Describe the bug
执行以下命令
vfox add maven/maven
vfox install maven@3.6.3
vfox use -g maven
命令执行成功后,在当前终端窗口可以正常使用 mvn 命令,新建终端窗口后 mvn 命令失效
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce on macOS with vfox add maven/maven, vfox install maven@3.6.3, and vfox use -g maven, then open a new terminal and check whether mvn is available. No files or tests are named, so trace the global-use and shell initialization paths first. Done means the selected Maven version remains available in a newly opened terminal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- cli, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100