Use stow
I have tried to get into using a dotfiles manager, I started using chezmoi, but I found it cumbersome and a tad complicated. Do note that this was some time ago and the application probably have evolved and improved.
Anyway I will over stow, which seems simpler so I am trying this out.
I started by organizing everything the wrong way, with files in the root directory of my stow directory.
.rw-r--r--@ 3.9k jonasbn 29 Mar 18:36 .bashrc
.rw-r--r--@ 829 jonasbn 29 Mar 18:36 .profile
.rw-r--r--@ 410 jonasbn 29 Mar 18:36 .tmux.conf
.rw-r--r--@ 311 jonasbn 29 Mar 18:36 .vimrc
Resources and References
- https://linuxvox.com/blog/stow-linux/
- https://linuxconfig.org/how-to-use-gnu-stow-to-manage-programs-installed-from-source-and-dotfiles
- https://dev.to/crafts69guy/how-to-manage-your-dotfiles-like-a-pro-with-git-and-stow-3pg1