feat: add difftastic tool and git aliases

Added difftastic to the list of Git-related tools. Created aliases (dlog, dshow, ddiff) for enhanced diff viewing with difftastic.
This commit is contained in:
Harald Hoyer 2024-11-12 09:07:59 +01:00
parent cc59bd6567
commit e5b51de881

View file

@ -21,6 +21,7 @@ in
home.packages = with pkgs; [
git-delete-merged-branches
delta
difftastic
];
programs.git = {
enable = true;
@ -44,6 +45,9 @@ in
alias = {
co = "checkout";
ci = "commit --signoff";
dlog = "-c diff.external=difft log --ext-diff";
dshow = "-c diff.external=difft show --ext-diff";
ddiff = "-c diff.external=difft diff";
};
pull.ff = "only";
core.pager = "${pkgs.delta}/bin/delta";