From 87c66ea8d1d65b91519c5f032544321e064bcfd4 Mon Sep 17 00:00:00 2001 From: oGre Date: Thu, 24 Sep 2015 17:28:20 +0200 Subject: [PATCH] Missed one --- gitstatus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus.sh b/gitstatus.sh index b228b5a..a83e91b 100755 --- a/gitstatus.sh +++ b/gitstatus.sh @@ -53,7 +53,7 @@ fi remote= -branch_line=`echo "$gitstatus" | grep "^##"` +branch_line=$( echo "$gitstatus" | grep "^##" ) IFS="." read -ra line <<< "${branch_line/\#\# }" branch="${line[0]}"