Hey everyone! I'm curious about how you manage your dotfiles. Do you use GNU Stow, or is there another method you prefer? If you have any tips, tricks, or even links to resources like blogs or wikis, I'd love to check them out!
5 Answers
I highly recommend using [Chezmoi](https://www.chezmoi.io). It utilizes git behind the scenes and makes managing dotfiles practical. I use it for my dotfiles, scripts in `~/.local/bin`, and application .desktop files. It’s quite flexible and even supports multiple Linux distributions or operating systems!
I keep my dotfiles in a GitHub repo along with some custom scripts. It’s useful for version control and easy backups.
I run a simple script that copies my dotfiles to a git repo every now and then. It’s pretty basic; I manually add whatever I want, but it gets the job done. Plus, I have my home directory backed up locally and on my NAS.
I personally use my own Nextcloud for self-hosting or GitLab/GitHub. If your dotfiles change frequently, having them on GitHub or GitLab is super helpful since you can push your updates there and clone them on different devices when needed. For dotfiles you don’t touch often, an external drive or cloud service works fine too.
For me, it’s all about Stow and Syncthing. It makes things so much easier! I even have a command line snippet for quick installs:
```
fd --prune . /path/to/dotfiles/dir | sed 's//$//g' | awk -F '/' '{print $NF}' | fzf --multi | xargs stow
``` This makes it pretty straightforward!

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux