mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 20:53:00 +08:00
9 lines
268 B
Plaintext
9 lines
268 B
Plaintext
|
PROMPT='
|
||
|
%n@%m %{$fg[cyan]%}%~
|
||
|
%? $(git_prompt_info)%{$fg_bold[blue]%}%% %{$reset_color%}'
|
||
|
|
||
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}"
|
||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}"
|
||
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}"
|