Fix location of $(git_prompt_ahead).

This commit is contained in:
Nils Pascal Illenseer 2011-08-21 17:15:30 +02:00
commit 7fec3e6003

View file

@ -57,7 +57,7 @@ function prompt_char {
# Prompt format
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
PROMPT='${user} at ${loc} in %{$fg_bold[blue]%}$(collapse_pwd)%{$reset_color%}$(git_prompt_ahead)$(git_prompt_info)$(git_prompt_status)$(git_prompt_short_sha)%{$reset_color%}
PROMPT='${user} at ${loc} in %{$fg_bold[blue]%}$(collapse_pwd)%{$reset_color%}$(git_prompt_info)$(git_prompt_status)$(git_prompt_short_sha)%{$reset_color%}$(git_prompt_ahead)
%{$fg_bold[white]%}$(prompt_char)%{$reset_color%} '
RPROMPT='${ret_status}'
else