From 1b051c82660d8e090638d46ecffb69622aea3aae Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 10 Dec 2023 15:45:56 -0500 Subject: [PATCH] fix(bash): tell if not up to date --- common/home/bash/config/bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/home/bash/config/bashrc b/common/home/bash/config/bashrc index 5ae08f98..8d30878f 100644 --- a/common/home/bash/config/bashrc +++ b/common/home/bash/config/bashrc @@ -3,7 +3,8 @@ cd ~/.nix || exit 1 git fetch --all > /dev/null GIT=$(git -c color.status=always status | - grep -v -e branch \ + grep -v -e "On branch" \ + -e "up to date" \ -e 'use "git' \ -e "nothing to commit" | sed '/^$/d')