(( behind > 0 )) && upstream_str+="%{$fg[blue]%} <$behind"
git_status+="$upstream_str"
+ # Format push
+ push_ab=( $(git rev-list --left-right --count @...@{push} 2>/dev/null) )
+ if (( $? == 0 )); then
+ (( push_ab[1] > 0 )) && git_status+="%{$fg_bold[blue]%} ⮝$push_ab[1]"
+ (( push_ab[2] > 0 )) && git_status+="%{$fg_bold[blue]%} ⮟$push_ab[2]"
+ fi
+
# Format stashed
stashed=$(git stash list | wc -l)
if (( stashed > 0 )) then