mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-21 03:41:57 +00:00
8 lines
268 B
Bash
8 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]%}"
|