ctucx.git: nixfiles

ctucx' nixfiles

commit e7773b89d0dbd6679b3a765b351d431b12a8c56c
parent c732bead49b6e1b978548513303f04760d514190
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 21 May 2022 09:23:07 +0200

programs/cli/git: globally ignore .swp and .DS_Store files
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/configurations/programs/cli/git.nix b/configurations/programs/cli/git.nix
@@ -2,8 +2,11 @@
 
 {
   home-manager.users.leah = {
+#    home.packages = [ pkgs.gitui ];
 
     programs = {
+#      bash.shellAliases.lazygit = "gitui";
+
       lazygit.enable = true;
       git = {
         enable    = true;

@@ -15,6 +18,11 @@
 
         delta.enable = true;
 
+        ignores = [
+          ".DS_Store"
+          "*.swp"
+        ];
+
         aliases = {
           log-gpg = "log --show-signature";
           pfusch  = "push";