Added icon for 'git ahead' to prompt

This commit is contained in:
Kevin Mees 2011-11-18 13:16:01 +01:00
commit fbea8cac47

View file

@ -6,7 +6,7 @@ KEV_CURRENT_RUBY_=" %{$fg_bold[red]%}♦ \$(~/.rvm/bin/rvm-prompt v g)%{$reset_
KEV_CURRENT_LOCA_="%{$fg[green]%}%~%{$reset_color%}"
# Grab the current git status
KEV_GIT_STATUS_=" \$(git_prompt_info)%{$reset_color%}\$(git_prompt_status)%{$reset_color%}"
KEV_GIT_STATUS_=" \$(git_prompt_info)%{$reset_color%}\$(git_prompt_status)\$(git_prompt_ahead)%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}±"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ☀"
@ -18,6 +18,8 @@ ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%} ✖"
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%} ➜"
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%} ⚡"
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg[blue]%} ⬆"
# Put it all together!
PROMPT="
$KEV_CURRENT_LOCA_$KEV_GIT_STATUS_$KEV_CURRENT_RUBY_