From 10121e3d1320f013fc695743cf916e31cf2b04a7 Mon Sep 17 00:00:00 2001 From: Anthony Gelibert Date: Mon, 20 Jan 2014 20:44:43 +0100 Subject: [PATCH] Rename misnamed local variable. --- liquidprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index b4ec589..43d46ee 100755 --- a/liquidprompt +++ b/liquidprompt @@ -895,7 +895,7 @@ _lp_svn_branch_color() local branch branch="$(_lp_svn_branch)" if [[ -n "$branch" ]] ; then - local commits + local changes changes=$(( $(svn status $LP_SVN_STATUS_OPTIONS | grep -c -v "?") )) if [[ $changes -eq 0 ]] ; then echo "${LP_COLOR_UP}${branch}${NO_COL}"