+function ruby_info {
+ rubyinfo=`cat "$(tool_versions)" | rg ruby | cut -d ' ' -f 2`
+ rubyinfo=${ASDF_RUBY_VERSION:-$rubyinfo}
+ echo "%{%F{red}%}rb%{%F{black}%} ${rubyinfo:-no}"
+}
+
+function node_info {
+ nodeinfo=`cat "$(tool_versions)" | rg nodejs | cut -d ' ' -f 2`
+ nodeinfo=${ASDF_NODEJS_VERSION:-$nodeinfo}
+ echo "%{%F{yellow}%}js%{%F{black}%} ${nodeinfo:-no}"