Repository navigation
Conversation
Contributor
|
Sebo1411
force-pushed
the
fix/issue-14831-mise-wrapper-path-recursion
branch
from
October 10, 2026 10:15
bd729be to
329d3a4
Compare
Sebo1411
force-pushed
the
fix/issue-14831-mise-wrapper-path-recursion
branch
from
October 10, 2026 10:24
329d3a4 to
da3d085
Compare
Sebo1411
force-pushed
the
fix/issue-14831-mise-wrapper-path-recursion
branch
from
October 10, 2026 10:51
da3d085 to
71183f9
Compare
Sebo1411
force-pushed
the
fix/issue-14831-mise-wrapper-path-recursion
branch
from
October 10, 2026 11:01
71183f9 to
0d9073c
Compare
Sebo1411
force-pushed
the
fix/issue-14831-mise-wrapper-path-recursion
branch
from
October 10, 2026 11:08
0d9073c to
cd185bb
Compare
Contributor
Author
|
@greptile review |
Contributor
Author
|
Closing in favor of #14880, which takes a cleaner and more robust approach. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #14831
Problem
When third-party installers (such as CLI tools, language managers, or agent installers) or user shell dotfiles place
~/.local/binahead of mise tool directories inPATH, invoking any generated mise wrapper (e.g.grok,opencode,pi,omp,cursor-agent,gh) hangs indefinitely at 100% CPU. Insidemise x <pkg> -- <bin>, resolving<bin>finds the wrapper in~/.local/binagain instead of the package binary in mise's tool directories, recursing infinitely.Solution
bin/omarchy-mise-install, update the generated wrapper template to strip~/.local/binentries fromPATHbefore executingmise. This ensuresmise xresolves the target binary from mise's tool directories rather than re-executing the wrapper.migrations/1791626600.shto regenerate existing wrappers on disk that match the previous template formats.test/shell.d/mise-install-test.shverifying that~/.local/binis stripped fromPATHwhen running generated wrappers.test/shell.d/mise-wrapper-path-recursion-migration-test.shverifying that stale wrappers are regenerated with the updated template while preserving arguments and leaving customized scripts untouched.