A tiny Makefile for dotfiles

2026-11-14

Every few years I rewrite my dotfiles. Every time, the tooling gets smaller. This year the whole thing is a Makefile with four targets and a stale symlink checker.

link:
	stow -R -t $$HOME tmux git zsh
check:
	@find $$HOME -maxdepth 2 -type l ! -exec test -e {} \; -print

The check target is the one that earns its keep. A dangling symlink in a shell profile is a confusing fifteen minutes, and this finds them in a second.

← All posts