From 826510d7bb666c6cf02415525f7255d416c3189e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 11 Apr 2025 15:39:25 +0200 Subject: Use rustup for rust status --- zsh/functions/status.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zsh/functions/status.zsh b/zsh/functions/status.zsh index 82544f0..3062ce8 100644 --- a/zsh/functions/status.zsh +++ b/zsh/functions/status.zsh @@ -19,8 +19,7 @@ function python_info { } function rust_info { - rustinfo=`cat "$(tool_versions)" | rg rust | cut -d ' ' -f 2` - rustinfo=${ASDF_RUST_VERSION:-$rustinfo} + rustinfo=`rustup show profile` echo "%{%F{red}%}rs%{%F{black}%} ${rustinfo:-no}" } -- cgit