4 ms·
Yeah, mixed environments are really tough. Though (most) of my machines are Linux, they often have _some_ stuff that should be the same and _some_ stuff that sh
by davegauer 4y ago
Yeah, mixed environments are really tough. Though (most) of my machines are Linux, they often have _some_ stuff that should be the same and _some_ stuff that should not. My solution has been to use the fine-grained GNU Stow approach, which allows me to apply only the bits I need for a particular machine.
The files you're managing don't even need to be text, though, of course, it makes versioning, etc. a lot easier.
I also check the host name in some of the scripts to modify behavior depending on the machine.
I did a write-up about my whole setup (emphasis on GNU Stow + Git) here:
https://ratfactor.com/setup2 https://ratfactor.com/setup2
- hummusandsushi 4y agoI also use GNU Stow + Git and has worked well for me. For files I want to sync that I don't need versioning for and it is important that I have them available even in cases where I may have forgotten to commit my changes on some individual machine, I use Syncthing[1], which is really great for the more Dropbox-y kind of cross-machine sync that I also have a need for. [1]: https://syncthing.net/ https://syncthing.net/