diff --git a/config b/config index a1a68ea..10e2f24 100644 --- a/config +++ b/config @@ -1,34 +1,34 @@ [core] - editor = nvim + editor = nvim [init] - defaultBranch = main + defaultBranch = main [commit] - gpgsign = true + gpgsign = true [filter "lfs"] - required = true - clean = git-lfs clean -- %f - smudge = git-lfs smudge -- %f - process = git-lfs filter-process + required = true + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process [user] - useConfigOnly = true + useConfigOnly = true [alias] - lg-inline = "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)'" - # sed part courtesy of: https://stackoverflow.com/a/32038784 - lg = "!f() { \ - git lg-inline $@ |\ - 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#N##' | \ - less -cr; \ - }; f" - ck = "checkout" - s = "status" - # https://www.micah.soy/posts/setting-up-git-identities/ - identity = "!~/.config/git/scripts/identity.sh" + lg-inline = "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)'" + # sed part courtesy of: https://stackoverflow.com/a/32038784 + lg = "!f() { \ + git lg-inline $@ |\ + 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#N##' | \ + less -cr; \ + }; f" + ck = "checkout" + s = "status" + # https://www.micah.soy/posts/setting-up-git-identities/ + identity = "!~/.config/git/scripts/identity.sh"