From 53710c2622daa3496dbf7cc0b4674745117e57f2 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Sat, 23 Dec 2023 16:20:03 +0100 Subject: [PATCH] git lg: disable annoying line wrap --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 001a3ad..17423e1 100644 --- a/config +++ b/config @@ -49,7 +49,7 @@ # custom git log (always opens in pager) lg = "!f() { \ git lgi $@ | \ - less -cr; \ + less --clear-screen --RAW-CONTROL-CHARS --chop-long-lines; \ }; f" # Inspired by, then evolved from: