home/git: Only open big diffs in a pager

Small diffs (less than one screen) get just printed to the terminal
This commit is contained in:
fleaz 2023-04-28 14:16:57 +02:00
parent a81d311137
commit 19c9520f75
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -15,6 +15,9 @@
signByDefault = true; signByDefault = true;
}; };
extraConfig = { extraConfig = {
"core" = {
pager = "less -F -X";
};
"init" = { "init" = {
defaultBranch = "main"; defaultBranch = "main";
}; };