Re:Using GNU Stow to manage your dotfiles (2012)
by e40 on Tuesday December 29, 2020 @03:21AM
(#25567822)
I've had my dotfiles in git for 7+ years. Work on Windows, Linux and macOS. Conditionalization in BASH is dead simple.
EDIT: 12+ years at work.
Re:Using GNU Stow to manage your dotfiles (2012)
by sooheon on Tuesday December 29, 2020 @08:57AM
(#25569740)
Yeah, it seems like keeping the cond inside the dotfiles, rather than in a dotfiles manager is the way to go.
Nothing wrong with tracking dotfiles with Git. It's probably the simplest and easiest approach without requiring any fancy tools other than Git. However, as mentioned in ArchLinux's wiki page, the disadvantage of Git approach is that "host-specific configuration generally requires merging changes into multiple branches."[1]
[1]: https://wiki.archlinux.org/index.php/Dotfiles#Tracking_dotfi...