News for hackers. Stuff that matters.
Re:Using GNU Stow to manage your dotfiles by anu_gupta on Tuesday October 21, 2014 @02:05PM (#8488765)
Not sure if this would work with Stow, but in my .bashrc I just do this:

  if [ -f ~/config/bashrc_$(hostname -s) ]; then
        source ~/config/bashrc_$(hostname -s)
  fi
this gives me machine specific configs.
Re:Using GNU Stow to manage your dotfiles by jackalope on Tuesday October 21, 2014 @02:14PM (#8488828)
You can do something similar to target *nix platforms like Darwin|FreeBSD|Linux|NetBSD|OpenBSD with:

  if [ -f ~/config/bashrc_$(uname -s) ]; then
      source ~/config/bashrc_$(uname -s)
  fi
Re:Using GNU Stow to manage your dotfiles by LukaD on Tuesday October 21, 2014 @02:23PM (#8488876)
Great idea! It wouldn't work for me though as I tend to call all my machines 'fuckup' (I know...) ;)
Re:Using GNU Stow to manage your dotfiles by RexRollman on Tuesday October 21, 2014 @08:53PM (#8490993)
In that case, you could have it read or check the existence of something else, like a file in /etc.