diff --git a/liquidprompt b/liquidprompt index 4e65cc6..aa48ac3 100755 --- a/liquidprompt +++ b/liquidprompt @@ -769,6 +769,7 @@ _lp_git_branch_color() fi local shortstat + local ret shortstat="$(LC_ALL=C \git diff --shortstat HEAD 2>/dev/null)" if [[ -n "$shortstat" ]] ; then local has_lines