fix(vcs): remove the useless "+" sign in ahead/behind commits section
This commit is contained in:
parent
0f5437bc1f
commit
95ad1f4534
1 changed files with 2 additions and 2 deletions
|
|
@ -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[@]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue