config: fixed indentation

This commit is contained in:
kalmenn 2023-12-21 22:52:18 +01:00
parent 86dcbc3657
commit 87e173218a
Signed by: kalmenn
GPG key ID: F500055C44BC3834

54
config
View file

@ -1,34 +1,34 @@
[core] [core]
editor = nvim editor = nvim
[init] [init]
defaultBranch = main defaultBranch = main
[commit] [commit]
gpgsign = true gpgsign = true
[filter "lfs"] [filter "lfs"]
required = true required = true
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
process = git-lfs filter-process process = git-lfs filter-process
[user] [user]
useConfigOnly = true useConfigOnly = true
[alias] [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)<sig>%G?</sig>%GS%C(reset cyan)%d%C(reset)'" 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)<sig>%G?</sig>%GS%C(reset cyan)%d%C(reset)'"
# sed part courtesy of: https://stackoverflow.com/a/32038784 # sed part courtesy of: https://stackoverflow.com/a/32038784
lg = "!f() { \ lg = "!f() { \
git lg-inline $@ |\ git lg-inline $@ |\
sed \ sed \
-e 's#<sig>G</sig>#Good Signature: #' \ -e 's#<sig>G</sig>#Good Signature: #' \
-e 's#<sig>B</sig>#\\x1b[31mBAD#' \ -e 's#<sig>B</sig>#\\x1b[31mBAD#' \
-e 's#<sig>U</sig>#\\x1b[33mUnknown Trust: #' \ -e 's#<sig>U</sig>#\\x1b[33mUnknown Trust: #' \
-e 's#<sig>X</sig>#Good | Expired#' \ -e 's#<sig>X</sig>#Good | Expired#' \
-e 's#<sig>Y</sig>#\\x1b[33mExpired Key#' \ -e 's#<sig>Y</sig>#\\x1b[33mExpired Key#' \
-e 's#<sig>R</sig>#\\x1b[31mRevoked#' \ -e 's#<sig>R</sig>#\\x1b[31mRevoked#' \
-e 's#<sig>E</sig>#\\x1b[33mMissing Key#' \ -e 's#<sig>E</sig>#\\x1b[33mMissing Key#' \
-e 's#<sig>N</sig>##' | \ -e 's#<sig>N</sig>##' | \
less -cr; \ less -cr; \
}; f" }; f"
ck = "checkout" ck = "checkout"
s = "status" s = "status"
# https://www.micah.soy/posts/setting-up-git-identities/ # https://www.micah.soy/posts/setting-up-git-identities/
identity = "!~/.config/git/scripts/identity.sh" identity = "!~/.config/git/scripts/identity.sh"