From 95ad1f4534e8a9db8eeafc572e62fa68c85039f5 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 18 Oct 2022 22:15:03 +0200 Subject: [PATCH] fix(vcs): remove the useless "+" sign in ahead/behind commits section --- dotmatrix.theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotmatrix.theme b/dotmatrix.theme index 81c2e2c..027faba 100644 --- a/dotmatrix.theme +++ b/dotmatrix.theme @@ -828,7 +828,7 @@ __dotmatrix_prompt_vcs() { color=${DOTMATRIX_COLOR_NOTE[@]+"${DOTMATRIX_COLOR_NOTE[@]}"} fi if (( LP_ENABLE_VCS_DIFFSTATS )) ; then - __dotmatrix_make_field "${DOTMATRIX_VCS}${lp_smart_mark} +${lp_vcs_commit_behind}" ${color[@]} + __dotmatrix_make_field "${DOTMATRIX_VCS}${lp_smart_mark} ${lp_vcs_commit_behind}" ${color[@]} _DOTMATRIX_VCS+="$dotmatrix_field" else __dotmatrix_make_field "${DOTMATRIX_VCS}${lp_smart_mark} ${DOTMATRIX_DIFF}" ${color[@]} @@ -855,7 +855,7 @@ __dotmatrix_prompt_vcs() { color=${DOTMATRIX_COLOR_NOTE[@]+"${DOTMATRIX_COLOR_NOTE[@]}"} fi if (( LP_ENABLE_VCS_DIFFSTATS )) ; then - __dotmatrix_make_field "+$lp_vcs_commit_ahead" ${color[@]} + __dotmatrix_make_field "$lp_vcs_commit_ahead" ${color[@]} _DOTMATRIX_VCS+="$dotmatrix_field" else __dotmatrix_make_field "$DOTMATRIX_DIFF" ${color[@]}