aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-21 15:29:13 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-21 15:29:13 +0300
commitde94cf833072251ff58f60e3478c00f6ceb1dbeb (patch)
tree999ebf6477beab1fd9e2a3ed948b4467f226448c /src
parent44f2211608618e56d4bd80ef9c2bac4d9c8be4d2 (diff)
fix: discover canonical mise remote installs
refs #1201
Diffstat (limited to 'src')
-rw-r--r--src/remote/unix.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remote/unix.rs b/src/remote/unix.rs
index 40e8bb45..813091ba 100644
--- a/src/remote/unix.rs
+++ b/src/remote/unix.rs
@@ -822,6 +822,7 @@ fi
script.push_str(
r#"if [ -n "$home" ]; then
emit "$home/.local/share/mise/installs/herdr/$version/bin/herdr"
+ emit "$home/.local/share/mise/installs/herdr/$version/herdr"
emit "$home/.local/share/mise/installs/github-ogulcancelik-herdr/$version/herdr"
emit "$home/.nix-profile/bin/herdr"
fi
@@ -2519,6 +2520,7 @@ mod tests {
assert!(
script.contains("emit \"$home/.local/share/mise/installs/herdr/$version/bin/herdr\"")
);
+ assert!(script.contains("emit \"$home/.local/share/mise/installs/herdr/$version/herdr\""));
assert!(script.contains(
"emit \"$home/.local/share/mise/installs/github-ogulcancelik-herdr/$version/herdr\""
));