3 ms·
I don't understand this - why not just store them in git directly? I have a git project called .linux-env. I can just clone it on any machine and ln my ~/.b
by fnord77 5y ago
I don't understand this - why not just store them in git directly?
I have a git project called .linux-env. I can just clone it on any machine and ln my ~/.bashrc/~/.profile to it. Even works on mac.
- res0nat0r 5y agoIt has a lot of additional features that a plain git repo won't provide, such as alternate files based on OS type, hostname etc: https://yadm.io/docs/alternates# https://yadm.io/docs/alternates#
- fnord77 5y agothat's literally just an if-statement in your bashrc unamestr=`uname` if [[ "$unamestr" == 'Linux' ]]; then source ~/.my_environment/bash/linux/.bashrc else source ~/.my_environment/bash/osx/.bashrc fi etc.
- res0nat0r 5y agoWhy would I want to bother with that when I can just use the software above to simplify that for me, in addition to a bunch of other features it offers?