- Add rvm to the plugins line of your
~/.zshrc file
- At the bottom of your aliases, add an alias for rvm-prompt
alias rvm-prompt=$HOME/.rvm/bin/rvm-prompt
- Reload (you may not need this line, but if you do, put it below the above)
source $ZSH/oh-my-zsh.sh
- Add the following on the line below:
RPROMPT="%{$fg[blue]%}\$(~/.rvm/bin/rvm-prompt s i v g) %{$fg[yellow]%}[%*]%{$fg[default]%}"
Last active
March 2, 2016 23:37
-
-
Save AleksandrMihhailov/2cd5722d10df7580334a to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment