From 1a6470036899ab8eb0bc8b53eb881134db45decc Mon Sep 17 00:00:00 2001 From: William Hilton Date: Thu, 28 Jul 2022 13:49:29 -0400 Subject: [PATCH] add color to 'g status' --- bin/g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/g b/bin/g index dc6f9b1..297b3f1 100755 --- a/bin/g +++ b/bin/g @@ -33,7 +33,7 @@ case "$1" in '?' | status) # TODO: Display help if not inside a repo # TODO: figure out how to git config --global color.status always automatically. -git status \ +git -c color.status=always status \ | grep -v 'On branch' \ | grep -v '(use "git push" to publish your local commits)' \ | grep -v '(use "git reset HEAD ..." to unstage)' \