mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 10:59:32 +08:00
9 lines
268 B
Bash
9 lines
268 B
Bash
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]%}"
|