git: add .DS_Store files to global ignore

This commit is contained in:
Trolli Schmittlauch 2024-03-18 11:59:50 +01:00
parent 3acecfd505
commit 3cdcd3a724

View file

@ -50,7 +50,8 @@
merge.tool = "vimdiff"; merge.tool = "vimdiff";
core.excludesfile = toString ( core.excludesfile = toString (
pkgs.writeText ".gitignore_global" '' pkgs.writeText ".gitignore_global" ''
# Direnv stuff # Direnv stuff #
################
.direnv .direnv
.envrc .envrc
# Editor files # # Editor files #
@ -58,6 +59,9 @@
*~ *~
*.swp *.swp
*.swo *.swo
# macOS foo #
#############
.DS_Store
'' ''
); );
core.whitespace = "-blank-at-eol,blank-at-eof,space-before-tab"; core.whitespace = "-blank-at-eol,blank-at-eof,space-before-tab";