mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-24 04:56:16 -07:00
67abf0f955
Fix «rvm» variable usage in RPROMPT out
13 lines
480 B
Bash
13 lines
480 B
Bash
local rvm="%{$fg[green]%}[$(rvm-prompt i v g)]%{$reset_color%}"
|
|
|
|
PROMPT='
|
|
%{$fg_bold[gray]%}%~%{$fg_bold[blue]%}%{$fg_bold[blue]%} % %{$reset_color%}
|
|
%{$fg[green]%}➞ %{$reset_color%'
|
|
|
|
RPROMPT='$(git_prompt_info) ${rvm}'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[git:"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}] %{$fg[red]%}✖ %{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}] %{$fg[green]%}✔%{$reset_color%}"
|