mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 03:01:42 +08:00
13 lines
504 B
Bash
13 lines
504 B
Bash
PROMPT=$'
|
|
%{$fg[blue]%}%/%{$reset_color%} $(git_prompt_info)$(bzr_prompt_info)%{$fg[white]%}[%n@%m]%{$reset_color%} %{$fg[white]%}[%T]%{$reset_color%}
|
|
%{$fg_bold[black]%}>%{$reset_color%} '
|
|
|
|
PROMPT2="%{$fg_blod[black]%}%_> %{$reset_color%}"
|
|
|
|
GIT_CB="git::"
|
|
ZSH_THEME_SCM_PROMPT_PREFIX="%{$fg[green]%}["
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=$ZSH_THEME_SCM_PROMPT_PREFIX$GIT_CB
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%} "
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|