+function ruby_info {
+ rubyinfo=`cat ~/.tool-versions | rg ruby | cut -d ' ' -f 2`
+ echo "%{%F{red}%}rb%{%F{black}%} ${rubyinfo:-no}"
+}
+
+function node_info {
+ nodeinfo=`cat ~/.tool-versions | rg nodejs | cut -d ' ' -f 2`
+ echo "%{%F{yellow}%}js%{%F{black}%} ${nodeinfo:-no}"