2020-08-04 21:55:04 +08:00
|
|
|
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%} %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
2010-10-09 07:49:35 +08:00
|
|
|
|
2010-10-10 00:06:00 +08:00
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=""
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
|
|
|
|
|
|
RPROMPT='$(git_prompt_status)%{$reset_color%}'
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[cyan]%} ✈"
|
|
|
|
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%} ✭"
|
|
|
|
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✗"
|
|
|
|
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%} ➦"
|
|
|
|
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[magenta]%} ✂"
|
|
|
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[grey]%} ✱"
|