mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Fix peepcode theme ruby prompt info
The ruby prompt info was not interpolating properly. Switching to use ruby_prompt_info helper. This addresses the issue.
This commit is contained in:
parent
051a2ee2b8
commit
f83d1e4384
1 changed files with 1 additions and 7 deletions
|
|
@ -41,10 +41,4 @@ PROMPT='
|
||||||
%~
|
%~
|
||||||
${smiley} %{$reset_color%}'
|
${smiley} %{$reset_color%}'
|
||||||
|
|
||||||
if [[ -d ~/.rvm ]] && [[ -e ~/.rvm/bin/rvm-prompt ]]; then
|
RPROMPT='%{$fg[white]%} $(ruby_prompt_info)$(git_prompt)%{$reset_color%}'
|
||||||
rvm_prompt='$(~/.rvm/bin/rvm-prompt)'
|
|
||||||
else
|
|
||||||
rvm_prompt=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
RPROMPT='%{$fg[white]%} $rvm_prompt$(git_prompt)%{$reset_color%}'
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue