use diff-so-fancy only at the point of execution

This commit is contained in:
Cyryl Płotnicki 2020-07-25 11:07:16 +01:00
parent 097dd2ec9c
commit a98194c8b6
2 changed files with 2 additions and 3 deletions

View file

@ -16,7 +16,6 @@
fontconfig fontconfig
genpass genpass
git git
gitAndTools.diff-so-fancy
gnupg gnupg
hsetroot hsetroot
htop htop

View file

@ -9,8 +9,8 @@
credential = { helper ="cache"; }; credential = { helper ="cache"; };
core = { pager = "cat"; }; core = { pager = "cat"; };
pager = { pager = {
diff = "diff-so-fancy | less --tabs=1,5 -RFX"; diff = "${pkgs.gitAndTools.diff-so-fancy}/bin/diff-so-fancy | less --tabs=1,5 -RFX";
show = "diff-so-fancy | less --tabs=1,5 -RFX"; show = "${pkgs.gitAndTools.diff-so-fancy}/bin/diff-so-fancy | less --tabs=1,5 -RFX";
}; };
}; };
aliases = aliases =