From 26c869b714608dcf156cdca08c4174d3280179bb Mon Sep 17 00:00:00 2001 From: kale Date: Wed, 10 Jan 2024 11:55:59 +0100 Subject: [PATCH] New colors for git lgi and lg. Also, now refs come before gpg output --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 8b20ddb..8470692 100644 --- a/config +++ b/config @@ -35,7 +35,7 @@ # sed part courtesy of: https://stackoverflow.com/questions/17371955/verifying-signed-git-commits/32038784#comment124980964_32038784 lgi = "!f() { \ git log --graph --branches --all --date=human --color $@ \ - --format='%C(bold dim green)%h%C(auto) - %C(yellow)%<(12)%cr %C(bold)→%C(reset) %s%C(dim white) - %an %G?%C(reset dim green)%GS%C(reset cyan)%d%C(reset)' | \ + --format='%C(bold dim green)%h%C(auto) - %C(yellow)%<(12)%cr %C(bold)→%C(reset) %s%C(bold black) - %an%C(reset bold yellow)%d %C(reset)%G?%C(reset dim white)%GS%C(reset)' | \ sed \ -e 's#G#\\x1b[1;32mGood Signature: #' \ -e 's#B#\\x1b[1;31mBAD#' \