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 fhenrysson committed Mar 9, 2017
1 parent 00de527 commit 8a5dac1
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 8a5dac1

Please sign in to comment.