Created
April 13, 2011 20:46
-
-
Save ryansch/918375 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment