[BUG]: MacBook M1 Pro maven 使用 -g 设置全局无效,在当前终端窗口有效,新建终端窗口后失效
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- cli, developer-experience, tooling
Research direction
Start by reading the plugin's Lua entry point that declares how maven is installed and which env vars (MAVEN_HOME, PATH) it exports, since the report shows vfox use -g maven working only in the session where it was run. Then compare the global session write against the per-shell activation path in vfox itself and check which shell rc file (zsh on macOS) gets the hook, reproducing with vfox add maven/maven, vfox install [email protected], vfox use -g maven, then opening a new terminal. Done means mvn resolves in a fresh shell after a global use, with a note on which file holds the global default. Note the thread has run ~12 comments over a long period without a decision, so read it before starting.
Written by the indexing model from the issue text.
Description
Version
0.2.6
OS
macOS
Describe the bug
执行以下命令
vfox add maven/maven
vfox install [email protected]
vfox use -g maven
命令执行成功后,在当前终端窗口可以正常使用 mvn 命令,新建终端窗口后 mvn 命令失效
- Dominant language
- Lua
- Stars
- 3
- Forks
- 5
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 3
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing 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.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugOpenbug discord guide:tailoring locale:enUS triage v4.2.1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
version-fox/vfox#825 ·
Maintainers usually reply within 1 day
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersOpenbug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bookorbit/bookorbit#2314 · 1 comment ·
Maintainers usually reply within 2 days
-
bug P2 tools
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day