Skip to content

Commit

Permalink
Fix peepcode theme ruby prompt info (ohmyzsh#5339)
Browse files Browse the repository at this point in the history
The ruby prompt info was not interpolating properly. Switching to use
 ruby_prompt_info helper. This addresses the issue.
  • Loading branch information
mattnichols authored and spiliopoulos committed May 19, 2020
1 parent 55e5a17 commit 2fbad78
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions themes/peepcode.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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%}'

0 comments on commit 2fbad78

Please sign in to comment.