Dotfiles Management
Discussions focus on tools and methods like chezmoi, GNU Stow, yadm, rcm, and git repos with symlinks for managing dotfiles across multiple machines and systems.
Activity Over Time
Top Contributors
Keywords
Sample Comments
chezmoiBecause it is important to centralize all your dotfiles.Disclaimer: Iām a chezmoi user.https://github.com/twpayne/chezmoi
You could use a dotfiles manager like https://yadm.io/It's more or less a wrapper of git, but it comes with a bunch of features that allow you to do the things you describe.
Have you considered using a dotfiles management solution like gnu stow?
Either a dedicated dotfile or just use Syncthing.
GNU Stow[1] referencing a git repo in ~/.dotfiles is what I use for that.You might consider it hackish, but at least there are plenty of tools out there for managing it :)[1] https://www.gnu.org/software/stow/
Related: How do people manage their dotfiles? I have mine in a git repository, but then I have a hand maintained bash script to make symlinks from the right paths to those files in the repo.
Anecdotal comment: Check out Chezmoi. Its worked really well for me.
Why not store everything in a Git repo, and symlink the dotfiles to the right place?
For dotfiles I use the workflow from this comment https://news.ycombinator.com/item?id=11071754 with a keybase encrypted repo I use: git init --bare $HOME/.myconf alias config='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME' config config status.showUntrackedFiles no where my ~/.myconf
What I do is just keep all of the dotfiles in ~/dotfiles and symlink them to the home directory, then I can keep track of them with git. Doesn't have to be any more work than that. Maybe it's not an issue for me because I only use one machine, and when I switch to another, I just pull down my dotfiles from github and symlink them again. I only do this every couple years.