Browse code

Add config pager

Robert Cranston authored on 31/10/2023 17:33:53
Showing 1 changed files

... ...
@@ -1,2 +1,9 @@
1 1
 [include]
2 2
 	path = ~/.gitconfig-user
3
+
4
+[core]
5
+	; Git sets `$LESS` to `FRX` if it's not already set. `X` disables
6
+	; sending termcap initialization and deinitialization strings to the
7
+	; terminal, which leaves (potentially log) text on the screen and
8
+	; disables mouse scrolling.
9
+	pager = less -+X