My dotfiles.
This manages dotfiles via the bare-git-repo method. In this method, you simply let your dotfiles live where they're used, in ~
, and version them in a separate, bare, git repository. See .zshrc
for setup. Credit to @teamsnelgrove for pointing me to this method and to HN user StreakyCobra for sharing the method to begin with.
- Prefer simpler stuff.
- Prefer comment-delimited sections over more files. e.g., if you have aliases for interactive sessions, don't break them into
aliases.zsh
and thensource aliases.zsh
from.zshrc
. Just put them in the# Functions.
section of your.zshrc
. - Embrace minor inconvenience.
./.config/dotfiles/Brewfile
doesn't mean you'll never need tobrew install
manually when you have to. Put another way: this is not a Terraform template for unattended provisioning of new boxes. This is a folder full of configuration files.