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