Skip to content

Instantly share code, notes, and snippets.

@finiteautomata
Created November 7, 2013 18:41
Show Gist options
  • Save finiteautomata/7359699 to your computer and use it in GitHub Desktop.
Save finiteautomata/7359699 to your computer and use it in GitHub Desktop.
The prompt I use for rvm.
# in .bashrc
GREEN="\[\033[1;32m\]"
WHITE="\[\033[0;37m\]"
PS1="$GREEN\$(~/.rvm/bin/rvm-prompt| sed -e 's/..*/(&)/g')$WHITE$PS1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment