1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-13 19:00:40 +01:00

Merge pull request #4410 from justVitalius/master

Fix print rvm version in amuse theme
This commit is contained in:
Robby Russell
2015-09-27 12:38:15 -07:00

View File

@@ -20,7 +20,7 @@ ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
ZSH_THEME_GIT_PROMPT_CLEAN=""
if [ -e ~/.rvm/bin/rvm-prompt ]; then
RPROMPT='%{$fg_bold[red]%}$(~/.rvm/bin/rvm-prompt i v)%{$reset_color%}'
RPROMPT='%{$fg_bold[red]%}$(rvm_current)%{$reset_color%}'
else
if which rbenv &> /dev/null; then
RPROMPT='%{$fg_bold[red]%}$(rbenv_version)%{$reset_color%}'