diff --git a/modules/common/shell/git.nix b/modules/common/shell/git.nix index f23608f..82b593b 100644 --- a/modules/common/shell/git.nix +++ b/modules/common/shell/git.nix @@ -28,6 +28,10 @@ in { userName = config.gitName; userEmail = config.gitEmail; extraConfig = { + core.pager = + "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight | less -F"; + interactive.difffilter = + "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight"; pager = { branch = "false"; }; safe = { directory = config.dotfilesPath; }; pull = { ff = "only"; };