public
Last active

  • Download Gist
ps1_rvm.sh
Shell
1 2 3 4 5 6 7 8 9
ps1_rvm()
{
if command -v rvm-prompt >/dev/null 2>/dev/null ; then
if [[ ! $(rvm-prompt) == $OLD_RVM ]]; then
export OLD_RVM=$(rvm-prompt)
printf "$(rvm-prompt) "
fi
fi
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.