From 2f62da9837f6f38c329c9d763df2fc152a97a49b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Reynier?= <88983487+loicreynier@users.noreply.github.com> Date: Thu, 2 Feb 2023 02:58:17 +0100 Subject: [PATCH] git: unset `pager` while using difftastic (#3633) --- modules/programs/git.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/programs/git.nix b/modules/programs/git.nix index 2b0d8a2f1..5bd828b30 100644 --- a/modules/programs/git.nix +++ b/modules/programs/git.nix @@ -527,10 +527,7 @@ in { "--background ${cfg.difftastic.background}" "--display ${cfg.difftastic.display}" ]; - in { - diff.external = difftCommand; - core.pager = "${pkgs.less}/bin/less -XF"; - }; + in { diff.external = difftCommand; }; }) (mkIf cfg.delta.enable {