install some git helper tools
This commit is contained in:
parent
7f6031fe79
commit
b8d6d45b1c
|
@ -121,8 +121,14 @@ in {
|
|||
enable = true;
|
||||
userEmail = "daniel.olsen99@gmail.com";
|
||||
userName = "Daniel Olsen";
|
||||
aliases = {
|
||||
absorb = "!${pkgs.git-absorb}/bin/git-absorb";
|
||||
rc = "rebase --continue";
|
||||
n = "!git commit --all --amend --no-edit && git rc";
|
||||
};
|
||||
extraConfig = {
|
||||
pull.rebase = true;
|
||||
sequence.editor = "${pkgs.git-interactive-rebase-tool}/bin/interactive-rebase-tool";
|
||||
};
|
||||
delta.enable = true;
|
||||
};
|
||||
|
@ -171,6 +177,7 @@ in {
|
|||
enable = true;
|
||||
defaultApplications = {
|
||||
"image/png" = [ "sxiv.desktop" "gimp.desktop" ];
|
||||
"image/jpeg" = [ "sxiv.desktop" ];
|
||||
"text/plain" = [ "gedit.desktop" "kakoune.desktop" "code.desktop" ];
|
||||
"video/x-matroska" = [ "mpv.desktop" ];
|
||||
};
|
||||
|
|
|
@ -33,6 +33,8 @@ in
|
|||
gst = "git status -sb";
|
||||
gcm = "git commit -m";
|
||||
gca = "git commit --amend --no-edit";
|
||||
grc = "git rc";
|
||||
gne = "git n";
|
||||
gds = "git diff --staged";
|
||||
glg = "git log --oneline";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue