mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 21:49:56 +08:00
11 lines
407 B
Bash
11 lines
407 B
Bash
PROMPT=$'
|
|
%{$fg[blue]%}%/%{$reset_color%} $(git_prompt_info)%{$fg[white]%}[%n@%m]%{$reset_color%} %{$fg[white]%}[%T]%{$reset_color%}
|
|
%{$fg_bold[black]%}>%{$reset_color%} '
|
|
|
|
PROMPT2="%{$fg_blod[black]%}%_> %{$reset_color%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%} "
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|