mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-28 03:32:19 +08:00
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%}"
|