fixing the untracked flag being always up
This commit is contained in:
parent
f6a9bdeee9
commit
6c012c28d6
@ -710,7 +710,7 @@ _lp_git_branch_color()
|
||||
|
||||
local end
|
||||
end="$NO_COL"
|
||||
if LC_ALL=C \git status -s 2>/dev/null | grep -q '^\?\?'; then
|
||||
if LC_ALL=C \git status -s 2>/dev/null | grep -Eq '^\?\?'; then
|
||||
end="$LP_COLOR_CHANGES$LP_MARK_UNTRACKED$end"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user