mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 19:06:15 +08:00
8 lines
378 B
Plaintext
8 lines
378 B
Plaintext
|
PROMPT='%{$fg_bold[red]%}%m%{$reset_color%}:%{$fg[cyan]%}%c%{$reset_color%}:%# '
|
||
|
RPROMPT='%{$fg_bold[green]%}$(git_prompt_info)%{$reset_color%}% '
|
||
|
|
||
|
ZSH_THEME_GIT_PROMPT_PREFIX="<%{$fg[red]%}"
|
||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$fg[green]%}>%{$reset_color%}"
|
||
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}>"
|