From 4480a1423634c87b93d868329a5b2300b1e9b920 Mon Sep 17 00:00:00 2001 From: husamemadH Date: Thu, 23 Jul 2026 11:26:32 +0300 Subject: [PATCH] Fix infinite loop in omarchy-mise-install wrappers exec via `mise exec "$package"` so the tool resolves from mise's install dir instead of by name through PATH. Previously `exec "$bin"` could re-find the wrapper itself when ~/.local/bin precedes mise's install path (e.g. when starship/zoxide clobber mise's PROMPT_COMMAND hook, #3685), recursing forever. Scoping to $package keeps lazy install and avoids leaking other runtimes into PATH. --- bin/omarchy-mise-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-mise-install b/bin/omarchy-mise-install index bf98dd9f..2140fc72 100755 --- a/bin/omarchy-mise-install +++ b/bin/omarchy-mise-install @@ -17,7 +17,7 @@ mkdir -p "$HOME/.local/bin" cat >"$HOME/.local/bin/$command" <