build with
dotfiles
Zsh, git, tmux, Neovim setup to fork
Config for zsh, git, tmux and Neovim, on macOS and Linux. Name, email and key paths live
in one config.json, which git ignores. make install fills git
and ssh config from it, then links seven files into the home directory. Packages, the
login shell and macOS defaults stay out of it, in make packages and
make macos-defaults. make install-dry-run shows the changes
first.
A file already at one of those paths is skipped until
make install-force backs it up. make restore puts it back.
Shell start is under 200 ms, measured with shell-bench on one Intel Mac.
why it exists
A shell setup tied to one person's name and machines is hard for anyone else to lift from. Working in a shell shapes a setup to its owner's taste. Reading someone else's helps tune your own.
The patterns and structure are what to take from it: a shell setup to fork, not one to adopt as it is.
what it taught
Splitting what touches the system from what only links made the install safe to re-run
and to test. tests/test-install.sh runs install, reinstall, restore and
uninstall in a temporary home, on macOS and Ubuntu in CI.