Skip to content

Commit

Permalink
Show git_prompt_ahead inside of git_prompt_info.
Browse files Browse the repository at this point in the history
  • Loading branch information
scelis committed Sep 11, 2012
1 parent c539794 commit ecf62ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.zsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# get the name of the branch we are on
function git_prompt_info() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || return
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$ZSH_THEME_GIT_PROMPT_SUFFIX"
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$(parse_git_dirty)$(git_prompt_ahead)$ZSH_THEME_GIT_PROMPT_SUFFIX"
}


Expand Down

0 comments on commit ecf62ed

Please sign in to comment.