mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 22:54:13 +08:00
8 lines
366 B
Bash
8 lines
366 B
Bash
PROMPT='$(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]%})"
|