Skip to content

Commit

Permalink
git: unset pager while using difftastic (nix-community#3633)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicreynier authored and 15cm committed Feb 9, 2023
1 parent 2f14c87 commit 460b0b1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/programs/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 460b0b1

Please sign in to comment.