fb8953d525ddd3ed01db02a266b284bd9fa5fbd2

Author
Matt Nichols <mattnichols@users.noreply.github.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

 Fix peepcode theme ruby prompt info (#5339)

The ruby prompt info was not interpolating properly. Switching to use
 ruby_prompt_info helper. This addresses the issue.

Diff

 1diff --git a/themes/peepcode.zsh-theme b/themes/peepcode.zsh-theme
 2index 9dc58294a5486c9794a5ef583bee9049b1fd3a97..b6dfa6870abc0c2c59b331392e3bdb813b853c7b 100644
 3--- a/themes/peepcode.zsh-theme
 4+++ b/themes/peepcode.zsh-theme
 5@@ -41,10 +41,4 @@ PROMPT='
 6 %~
 7 ${smiley}  %{$reset_color%}'
 8 
 9-if [[ -d ~/.rvm ]] && [[ -e ~/.rvm/bin/rvm-prompt ]]; then
10-    rvm_prompt='$(~/.rvm/bin/rvm-prompt)'
11-else
12-    rvm_prompt=''
13-fi
14-
15-RPROMPT='%{$fg[white]%} $rvm_prompt$(git_prompt)%{$reset_color%}'
16+RPROMPT='%{$fg[white]%} $(ruby_prompt_info)$(git_prompt)%{$reset_color%}'