diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-11 16:00:13 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-11 16:00:13 +0200 |
| commit | 9748abe38cb64bfa388c3f5d441b3779f425cfdf (patch) | |
| tree | 58386f866bfbec3c8579e6d3324445f58eb6d01d /zsh | |
| parent | 7c36e04c36413c0469bc9f2a329ad362735a0ecf (diff) | |
| parent | 957e0f6119ab3681e02029cdd98d0a1bc3bbe092 (diff) | |
Merge branch 'main' of git.sr.ht:~rbdr/dotfiles
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/functions/status.zsh | 3 |
1 files changed, 1 insertions, 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}" } |