Skip to content

Instantly share code, notes, and snippets.

@hamin
Created October 18, 2010 18:57
Show Gist options
  • Save hamin/632799 to your computer and use it in GitHub Desktop.
Save hamin/632799 to your computer and use it in GitHub Desktop.
Rvm version in your shell
# 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