mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 06:50:49 +08:00
8 lines
443 B
Plaintext
8 lines
443 B
Plaintext
|
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]%})"
|