From b0c4a749309064825852041d8d72c7eac9fb116c Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:03:20 -0600 Subject: [PATCH] fix: also make certain we are not auto installing inside shims by checking __MISE_SHIM --- src/cli/exec.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli/exec.rs b/src/cli/exec.rs index 73a83d33a1..f969724aec 100644 --- a/src/cli/exec.rs +++ b/src/cli/exec.rs @@ -68,7 +68,8 @@ impl Exec { // in that case the user probably just wants that one tool missing_args_only: !self.tool.is_empty() || !SETTINGS.exec_auto_install - || !console::user_attended_stderr(), + || !console::user_attended_stderr() + || *env::__MISE_SHIM, resolve_options: Default::default(), }; measure!("install_arg_versions", {