This commit is contained in:
2026-04-16 15:59:47 +01:00
parent 191cfbf182
commit f3d9d42745
+3 -2
View File
@@ -102,9 +102,10 @@ status is-interactive; and begin
end
# PATH ordering: prefer Nix/system binaries over self-installed shims in ~/.local/bin
# PATH ordering on Linux: keep privileged wrapper binaries first (sudo, etc.)
if test (uname) = Linux
fish_add_path -m /run/current-system/sw/bin
fish_add_path -m /run/wrappers/bin
fish_add_path -a -m /run/current-system/sw/bin
end
# Add user local bin to PATH, but keep it after system paths on Linux