News for hackers. Stuff that matters.
Re:Using GNU Stow to manage your dotfiles (2012) by devy on Tuesday December 29, 2020 @01:21AM (#25567287)
> but what's wrong with having a regular git repo anywhere you want with all of your dotfiles and them symlink those files to where they need 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...

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.
Re:Using GNU Stow to manage your dotfiles (2012) by devy on Tuesday December 29, 2020 @12:43PM (#25572402)
Can you share some of your setup there to exemplify? Thanks.
Re:Using GNU Stow to manage your dotfiles (2012) by e40 on Tuesday December 29, 2020 @01:11PM (#25572805)
I use $(uname -s) (Cygwin required on Windows) and dispatch on that. There's really nothing more than that.