mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 11:28:09 +08:00
021e6de323
it's just the candy theme with a new line before. in order to make easier to see the result of the commands and to avoid confusing
9 lines
372 B
Bash
9 lines
372 B
Bash
PROMPT=$'
|
|
%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%I:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
|
|
%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$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=""
|