Created
October 18, 2010 18:57
-
-
Save hamin/632799 to your computer and use it in GitHub Desktop.
Rvm version in your shell
This file contains 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
# Put this at the end of your user's .profile file or .bash_profile file | |
# NOTE: Here '/Users/hamin/' is MY user folder, replace with yours | |
if [[ -s /Users/hamin/.rvm/scripts/rvm ]] ; then source /Users/hamin/.rvm/scripts/rvm ; fi | |
PS1="[\h:\$(~/.rvm/bin/rvm-prompt)]\W \u\$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment