Repository navigation
fix(fish): preserve Darwin Homebrew path precedence over /usr/local/bin - #103
Merged
fmind merged 2 commits intoOct 7, 2026
Merged
Conversation
mederic-hurier-partner
force-pushed
the
fix/fish-path-precedence
branch
from
October 7, 2026 08:45
ef7f02e to
a7f58c7
Compare
mederic-hurier-partner
force-pushed
the
fix/fish-path-precedence
branch
from
October 7, 2026 08:50
a7f58c7 to
ed95248
Compare
…w precedence check
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.
Summary
On Darwin, ensure
/opt/homebrew/binand/opt/homebrew/sbintake precedence over/usr/local/binand/usr/local/sbin.Context & Changes
dot_config/fish/conf.d/paths.fish,/usr/local/binpreviously used-mg(--move), causing it to be shifted ahead of Homebrew paths (/opt/homebrew/binonly used-g). On Apple Silicon, this inverted tool precedence and triggeredmise doctorPATH warnings./opt/homebrew/binto-mgand/usr/local/binto-gso that mise shims,~/.local/bin, and Homebrew retain precedence over fallback binaries in/usr/local/bin.test_fish_paths_precedence_on_darwintodot/tests/test_fish.pyto prevent regressions.Test Plan
mise run test: 1448 passed, 3 skipped, 30 subtests passed.mise run check:localandcheck:network: all linters, formatting, and security scans passed.~/.local/bin(2),/opt/homebrew/bin(3),/usr/local/bin(5).