commit 2ed80116cafede8fe4b7022a5e188fb92953d3da parent 3cf97d2ad358b098ec767998a70591e855b98f5a Author: Chris Bracken <chris@bracken.jp> Date: Mon, 25 May 2026 23:02:54 +0900 git: use default global gitignore path Maybe it existed all along; maybe it was added later. Either way, seems like $XDG_CONFIG_HOME/git/ignore works and saves us a line of code. Diffstat:
| M | .config/git/config | | | 1 | - |
| D | .config/git/gitignore_global | | | 21 | --------------------- |
| M | .config/git/ignore | | | 24 | +++++++++++++++++++++++- |
3 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/.config/git/config b/.config/git/config @@ -12,7 +12,6 @@ [color] ui = auto [core] - excludesfile = ~/.config/git/gitignore_global editor = nvim [credential] helper = store diff --git a/.config/git/gitignore_global b/.config/git/gitignore_global @@ -1,21 +0,0 @@ -# OS-related noise -.DS_Store - -# Editor backup files -*.sw? -*~ - -# Editor project directories -.cache/ -.nova/ -.jetskicli - -# Build outputs -*.a -*.class -*.dylib -*.elc -*.o -*.pyc -*.so -compile_commands.json diff --git a/.config/git/ignore b/.config/git/ignore @@ -1 +1,23 @@ -**/.claude/settings.local.json +# OS-related noise +.DS_Store + +# Editor backup files +*.sw? +*~ + +# Editor project directories +.cache/ +.claude/settings.local.json +.jetskicli/ +.nova/ +.zed/ + +# Build outputs +*.a +*.class +*.dylib +*.elc +*.o +*.pyc +*.so +compile_commands.json