venv="${VIRTUAL_ENV##*/}"
echo "%{%F{green}%}py%{%F{black}%} ${pythoninfo:-no}@${venv:-default}"
}
function ruby_info {
rubyinfo=`cat ~/.tool-versions | rg ruby | cut -d ' ' -f 2`
venv="${VIRTUAL_ENV##*/}"
echo "%{%F{green}%}py%{%F{black}%} ${pythoninfo:-no}@${venv:-default}"
}
function ruby_info {
rubyinfo=`cat ~/.tool-versions | rg ruby | cut -d ' ' -f 2`