Skip to content

Commit

Permalink
Merge pull request ohmyzsh#1182 from jugyo/patch-1
Browse files Browse the repository at this point in the history
correct the ruby version label of the 'nebirhos' theme for rbenv
  • Loading branch information
robbyrussell committed Jun 22, 2012
2 parents bf98a2d + 7e1da28 commit a269563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/nebirhos.zsh-theme
Expand Up @@ -6,7 +6,7 @@ if [ -e ~/.rvm/bin/rvm-prompt ]; then
RUBY_PROMPT_="%{$fg_bold[blue]%}rvm:(%{$fg[green]%}\$(~/.rvm/bin/rvm-prompt s i v g)%{$fg_bold[blue]%})%{$reset_color%} " RUBY_PROMPT_="%{$fg_bold[blue]%}rvm:(%{$fg[green]%}\$(~/.rvm/bin/rvm-prompt s i v g)%{$fg_bold[blue]%})%{$reset_color%} "
else else
if which rbenv &> /dev/null; then if which rbenv &> /dev/null; then
RUBY_PROMPT_="%{$fg_bold[blue]%}rvm:(%{$fg[green]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg_bold[blue]%})%{$reset_color%} " RUBY_PROMPT_="%{$fg_bold[blue]%}rbenv:(%{$fg[green]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$fg_bold[blue]%})%{$reset_color%} "
fi fi
fi fi


Expand Down

0 comments on commit a269563

Please sign in to comment.