aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'config/emacs/.gitignore')
-rw-r--r--config/emacs/.gitignore10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/emacs/.gitignore b/config/emacs/.gitignore
new file mode 100644
index 0000000..c553df8
--- /dev/null
+++ b/config/emacs/.gitignore
@@ -0,0 +1,10 @@
+# Emacs tends to put **A LOT** of packages in the `emacs-user-directory` (i.e.
+# `.emacs.d` or `~/.config/emacs`). At first, I tried to fight it by adding
+# various configurations to put those files in `~/.cache/emacs` but decided that
+# it was a Sisyphean task. Instead, we make `.gitignore` everything but the
+# actual configuration files.
+
+*
+!/.gitignore
+!/early-init.el
+!/init.el