From c11f40b639f03f5bd32129be8f03ef7de31a2331 Mon Sep 17 00:00:00 2001 From: Yehor Lvivski Date: Mon, 11 Nov 2013 12:53:31 +0200 Subject: [PATCH] typo --- prompt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prompt.sh b/prompt.sh index 278fe8a..a0e1054 100644 --- a/prompt.sh +++ b/prompt.sh @@ -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