From e434aabb7a3bb6b4a3a6481312687d1a2fe5ad9b Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Tue, 26 Nov 2024 08:13:17 -0600 Subject: [PATCH] fix: use tv.short in show_tools Fixes #3029 --- src/cli/hook_env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/hook_env.rs b/src/cli/hook_env.rs index fca48078ea..988df0c469 100644 --- a/src/cli/hook_env.rs +++ b/src/cli/hook_env.rs @@ -74,7 +74,7 @@ impl HookEnv { .list_current_installed_versions() .into_iter() .rev() - .map(|(_, v)| v.to_string()) + .map(|(_, v)| v.short().to_string()) .collect_vec(); if !installed_versions.is_empty() { let status = installed_versions.into_iter().rev().join(" ");