3 ms·
that's literally just an if-statement in your bashrc unamestr=`uname` if [[ "$unamestr" == 'Linux' ]]; then source ~/.my_environment/bash/linux
by fnord77 5y ago
that'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?