2023-11-24 16:45:32 +08:00
|
|
|
PROMPT="%(?:%{$fg_bold[green]%}%1{➜%} :%{$fg_bold[red]%}%1{➜%} ) %{$fg[cyan]%}%c%{$reset_color%}"
|
2023-05-09 18:27:22 +08:00
|
|
|
PROMPT+=' $(git_prompt_info)'
|
2009-09-15 00:42:53 +08:00
|
|
|
|
2016-02-13 06:39:47 +08:00
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
2023-11-24 16:45:32 +08:00
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}%1{✗%}"
|
2016-02-13 06:39:47 +08:00
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|