2011-07-16 20:01:57 +08:00
|
|
|
local rvm="%{$fg[green]%}[$(rvm-prompt i v g)]%{$reset_color%}"
|
|
|
|
|
2011-07-04 18:07:11 +08:00
|
|
|
PROMPT='
|
|
|
|
%{$fg_bold[gray]%}%~%{$fg_bold[blue]%}%{$fg_bold[blue]%} % %{$reset_color%}
|
|
|
|
%{$fg[green]%}➞ %{$reset_color%'
|
|
|
|
|
2015-10-22 19:58:44 +08:00
|
|
|
RPROMPT='$(git_prompt_info) ${rvm}'
|
2011-07-04 18:07:11 +08:00
|
|
|
|
|
|
|
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%}"
|