From 34655c2acf450686004433d2f2cb35a9e96f6868 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Sat, 23 Dec 2023 16:21:42 +0100 Subject: [PATCH] git lgi: changed colors of gpg output --- config | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config b/config index 17423e1..3694f47 100644 --- a/config +++ b/config @@ -34,15 +34,15 @@ # 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 %C(bold green)%G?%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(dim white) - %an %G?%C(reset dim green)%GS%C(reset cyan)%d%C(reset)' | \ sed \ - -e 's#G#Good Signature: #' \ - -e 's#B#\\x1b[31mBAD#' \ - -e 's#U#\\x1b[33mUnknown Trust: #' \ - -e 's#X#Good | Expired#' \ - -e 's#Y#\\x1b[33mExpired Key#' \ - -e 's#R#\\x1b[31mRevoked#' \ - -e 's#E#\\x1b[33mMissing Key#' \ + -e 's#G#\\x1b[1;32mGood Signature: #' \ + -e 's#B#\\x1b[1;31mBAD#' \ + -e 's#U#\\x1b[1;33mUnknown Trust: #' \ + -e 's#X#\\x1b[1;32mGood (later expired)#' \ + -e 's#Y#\\x1b[1;33mExpired Key#' \ + -e 's#R#\\x1b[1;31mRevoked#' \ + -e 's#E#\\x1b[1;33mMissing Key#' \ -e 's#N##'; \ }; f"