summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-05-11 15:17:39 +0200
committerAlan Pearce2024-05-11 15:20:51 +0200
commit22b2b2d668e522991a253dc18cad579b7a849546 (patch)
treef60f2f532704631f258b5e95cc19b53809e7a71d /user
parented3b8982fdc50c2e79532a203f749a8f96e538f8 (diff)
downloadnixfiles-22b2b2d668e522991a253dc18cad579b7a849546.tar.lz
nixfiles-22b2b2d668e522991a253dc18cad579b7a849546.tar.zst
nixfiles-22b2b2d668e522991a253dc18cad579b7a849546.zip
git: install extras
Diffstat (limited to 'user')
-rw-r--r--user/settings/git.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix
index c0170b4b..e5f4770b 100644
--- a/user/settings/git.nix
+++ b/user/settings/git.nix
@@ -75,8 +75,10 @@
       pending = "!sh -c 'git log --oneline --grep=\"#\" ...$(git lasttag)'";
       lg = "log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset'";
       prl = "log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset'  --grep='#'";
+      gen-ignore = "ignore-io";
       ignored = "ls-files --others -i --exclude-standard";
-      root = "rev-parse --show-toplevel";
+      clear = "clear-soft";
+      clear-hard = "!git-clear-hard";
     };
     ignores = [
       ".DS_Store"
@@ -87,4 +89,7 @@
       ".tabnine_root"
     ];
   };
+  home.packages = with pkgs; [
+    git-extras # delete-merged-branches and friends
+  ];
 }