With extra bonus: write an installer script that symlinks the files to the correct place. Use Ansible, plain old Bash, or Python depending on your preference.
I didn’t really see the benefit of this besides having a snapshot or backup of my home folder for my use case (I don’t have that many config/text files that needs tracking), but I can recommend chezmoi for those interested.
Create a dotfiles repo in git. Gives you a way to track changes to your .bashrc or .zshrc
With extra bonus: write an installer script that symlinks the files to the correct place. Use Ansible, plain old Bash, or Python depending on your preference.
Or GNU stow.
https://github.com/thoughtbot/rcm
rcm will do symlinking for you and is pretty awesome. Been using it for this purpose for years
deleted by creator
When in doubt always do a
git init .
and a git add, git commit every once in a while. You’ll never regret it.deleted by creator
I didn’t really see the benefit of this besides having a snapshot or backup of my home folder for my use case (I don’t have that many config/text files that needs tracking), but I can recommend chezmoi for those interested.