mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 07:24:51 +08:00
8 lines
443 B
Bash
8 lines
443 B
Bash
PROMPT='%{${fg_bold[yellow]}%}%n%{$reset_color%}%{${fg[yellow]}%}@%m%{$reset_color%} $(git_prompt_info)%(?,,%{${fg_bold[white]}%}[%?]%{$reset_color%} )%{$fg[yellow]%}%#%{$reset_color%} '
|
|
RPROMPT='%{$fg[green]%}%~%{$reset_color%}'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[red]%}✗%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|