git lg: disable annoying line wrap

This commit is contained in:
kalmenn 2023-12-23 16:20:03 +01:00
parent 7e5bbd1be5
commit 53710c2622
Signed by: kalmenn
GPG key ID: F500055C44BC3834

2
config
View file

@ -49,7 +49,7 @@
# custom git log (always opens in pager) # custom git log (always opens in pager)
lg = "!f() { \ lg = "!f() { \
git lgi $@ | \ git lgi $@ | \
less -cr; \ less --clear-screen --RAW-CONTROL-CHARS --chop-long-lines; \
}; f" }; f"
# Inspired by, then evolved from: # Inspired by, then evolved from: