From fe6e3d0c8a6398f6156f6b8c00ce26b8a5af81e0 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Thu, 6 Oct 2022 11:30:53 +0400 Subject: [PATCH] Fix grep 3.8 warnings --- zsh/apps/gitinfo.app.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/apps/gitinfo.app.zsh b/zsh/apps/gitinfo.app.zsh index 577bf15..a3ccb68 100644 --- a/zsh/apps/gitinfo.app.zsh +++ b/zsh/apps/gitinfo.app.zsh @@ -145,7 +145,7 @@ function gitinfo_get_stashes() ###################################################################### function gitinfo_get_untracked() { - GITINFO_UNTRACKED_COUNT=`LC_ALL=C git status | grep -v "be\ committed\|On\ branch\|nothing\ added\|Untracked\ files\|git\ add\|Your\ branch\|new\ file\|git\ reset\|nothing\ to\ commit\|not\ staged\|git\ checkout\|modified\:" | sed '/^$/d' | wc -l | sed "s/ //g"` + GITINFO_UNTRACKED_COUNT=`LC_ALL=C git status | grep -v "be committed|On branch|nothing added|Untracked files|git add|Your branch|new file|git reset|nothing to commit|not staged|git checkout|modified:" | sed '/^$/d' | wc -l | sed "s/ //g"` }