aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-07-30 12:04:12 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-07-30 12:04:12 -0500
commit348507638576563528b6a9ab5091ca906490dd51 (patch)
tree2269e9b7fe8111bf8b0088837639d4ffcacf6628
parentdc1b0050762fc115814119ea06518de5363fe038 (diff)
Convert dotfiles to GNU Stow package layout
Restructure into per-app stow packages (bash, emacs, mako) whose trees mirror $HOME. Preserve emacs runtime data under the new package path and update .gitignore accordingly. Add README documenting stow usage. Assisted-by: Claude:claude-opus-4-8
-rw-r--r--.gitignore8
-rw-r--r--README.md26
-rw-r--r--bash/.bashrc (renamed from .bashrc)0
-rw-r--r--emacs/.config/emacs/early-init.el (renamed from emacs/early-init.el)0
-rw-r--r--emacs/.config/emacs/init.el (renamed from emacs/init.el)0
-rw-r--r--mako/.config/mako/README.md (renamed from mako/README.md)0
-rw-r--r--mako/.config/mako/config (renamed from mako/config)0
7 files changed, 30 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index b47c821..19acfbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
-# Emacs
-emacs/*
-!emacs/init.el
-!emacs/early-init.el
+# Emacs (only track the config, not runtime data)
+emacs/.config/emacs/*
+!emacs/.config/emacs/init.el
+!emacs/.config/emacs/early-init.el
# Emacs temp files
*~ \ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6d9ff1e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# dotfiles
+
+Managed with [GNU Stow](https://www.gnu.org/software/stow/).
+Each top-level directory is a stow *package* whose contents mirror the layout under `$HOME`.
+
+## Install
+
+This repo lives outside `$HOME`, so pass the target explicitly:
+
+```sh
+cd ~/git/dotfiles
+stow -t "$HOME" bash emacs mako
+```
+
+## Remove
+
+```sh
+cd ~/git/dotfiles
+stow -D -t "$HOME" bash emacs mako
+```
+
+## Restow (after moving/renaming files)
+
+```sh
+stow -R -t "$HOME" bash emacs mako
+```
diff --git a/.bashrc b/bash/.bashrc
index 44305e9..44305e9 100644
--- a/.bashrc
+++ b/bash/.bashrc
diff --git a/emacs/early-init.el b/emacs/.config/emacs/early-init.el
index 7770747..7770747 100644
--- a/emacs/early-init.el
+++ b/emacs/.config/emacs/early-init.el
diff --git a/emacs/init.el b/emacs/.config/emacs/init.el
index 8363cf5..8363cf5 100644
--- a/emacs/init.el
+++ b/emacs/.config/emacs/init.el
diff --git a/mako/README.md b/mako/.config/mako/README.md
index 7378bb2..7378bb2 100644
--- a/mako/README.md
+++ b/mako/.config/mako/README.md
diff --git a/mako/config b/mako/.config/mako/config
index 9a0fdb9..9a0fdb9 100644
--- a/mako/config
+++ b/mako/.config/mako/config