mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 06:50:49 +08:00
d4f5fa37e8
Closes #4962
7 lines
275 B
Bash
7 lines
275 B
Bash
PROMPT='%(!.%{$fg[red]%}.%{$fg[green]%})%~$(git_prompt_info)%{$reset_color%} '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[blue]%}("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[blue]%})"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔"
|