Merge pull request #11 from lvivski/master

My stupid typo
This commit is contained in:
Arialdo Martini 2013-11-11 03:01:17 -08:00
commit 1d215b0231

View File

@ -95,10 +95,10 @@ function build_prompt {
commits_behind=0
if [[ $commits_diff =~ ^\<(..) ]]; then
commits_ahead = ${#BASH_REMATCH[@]}
commits_ahead=${#BASH_REMATCH[@]}
fi
if [[ $commits_diff =~ ^\>(..) ]]; then
commits_behind = ${#BASH_REMATCH[@]}
commits_behind=${#BASH_REMATCH[@]}
fi
if [[ $commits_ahead -gt 0 && $commits_behind -gt 0 ]]; then