News for hackers. Stuff that matters.
Re:Way to store your dotfiles: A bare Git repository (2016) by mikewhy on Saturday April 06, 2019 @06:01PM (#19593282)
As others have mentioned, sourcing files based on hostname / uname might help:

    try-source () {
      if [ -f "$1" ]; then
        source "$1"
      fi
    }
    
    try-source "$HOME/.localrc.$(uname -s)"
    try-source "$HOME/.localrc.$HOSTNAME"
    try-source "$HOME/.localrc.$(uname -s).$HOSTNAME"

There are no comments on this comment yet.