diff options
author | Matt Nichols <mattnichols@users.noreply.github.com> | 2016-09-19 21:00:16 -0600 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2016-09-19 20:00:16 -0700 |
commit | fb8953d525ddd3ed01db02a266b284bd9fa5fbd2 (patch) | |
tree | 1d009edf78c951481cc92fd962214f76050cc3a8 | |
parent | 83765bf3f7c5e92c9141a03d9791638f7eb68277 (diff) | |
download | zsh-fb8953d525ddd3ed01db02a266b284bd9fa5fbd2.tar.gz zsh-fb8953d525ddd3ed01db02a266b284bd9fa5fbd2.tar.bz2 zsh-fb8953d525ddd3ed01db02a266b284bd9fa5fbd2.zip |
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.
-rw-r--r-- | themes/peepcode.zsh-theme | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/themes/peepcode.zsh-theme b/themes/peepcode.zsh-theme index 9dc58294a..b6dfa6870 100644 --- a/themes/peepcode.zsh-theme +++ b/themes/peepcode.zsh-theme @@ -41,10 +41,4 @@ PROMPT=' %~ ${smiley} %{$reset_color%}' -if [[ -d ~/.rvm ]] && [[ -e ~/.rvm/bin/rvm-prompt ]]; then - rvm_prompt='$(~/.rvm/bin/rvm-prompt)' -else - rvm_prompt='' -fi - -RPROMPT='%{$fg[white]%} $rvm_prompt$(git_prompt)%{$reset_color%}' +RPROMPT='%{$fg[white]%} $(ruby_prompt_info)$(git_prompt)%{$reset_color%}' |