mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 09:40:09 +00:00
d4f5fa37e8
Closes #4962
6 lines
275 B
Bash
6 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]%}✔"
|