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:
parent
cc59bd6567
commit
e5b51de881
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue