49
How do you manage your dotfiles?
(programming.dev)
A community for discussion amongst professional software developers.
Posts should be relevant to those well into their careers.
For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:
https://www.chezmoi.io/ if you've got some complexity with your setup. otherwise, could be overkill.
I use Chezmoi but I have to point out some of its downfalls vs. other dotfile managers, particularly if someone is looking to migrate to it.
chezmoi remove ...
. You can't justrm
them from your dotfiles directory, because chezmoi does not sync state; it simply applies what's currently in your repo.Despite these gripes I still use it because deployment via a single binary is convenient, and there's enough control through the generated config file + system info to handle multiple kinds of deployments sort-of-sensibly (see point 4 above).