owenrusk.dev

dotfiles

shell, editor, ssh.

git clone https://owenrusk.dev/dotfiles.git

commit 1d34d86ef2c75fba466e9574829e540d825e9138
parent cf0dd5d529210b0b32983c3e7b28cebb8cab68a3
author Owen Rusk <owen@papermothgames.com>
date   2024-03-14 11:42:26 -0500
git: global ignore

git looks for ~/.config/git/ignore on its own, no core.excludesFile needed.
git/ignore+8-0
install.sh+1-0
diff --git a/git/ignore b/git/ignore
new file mode 100644
index 0000000..d639ae7
--- /dev/null
+++ b/git/ignore
@@ -0,0 +1,8 @@
+.venv/
+__pycache__/
+*.pyc
+.pytest_cache/
+.ruff_cache/
+.mypy_cache/
+*.swp
+.env
diff --git a/install.sh b/install.sh
index 6c199de..9745351 100755
--- a/install.sh
+++ b/install.sh
@@ -13,3 +13,4 @@ link zsh/zshrc "$HOME/.zshrc"
 link nvim "$HOME/.config/nvim"
 link tmux/tmux.conf "$HOME/.tmux.conf"
 link git/config "$HOME/.config/git/config"
+link git/ignore "$HOME/.config/git/ignore"