News for hackers. Stuff that matters.
Re:Way to store your dotfiles: A bare Git repository (2016) by yjftsjthsd-h on Saturday April 06, 2019 @12:23PM (#19591511)
Why do you want different configs on different machines? I think the "easy" solution is "don't do that";) But of course that's useless advice if you actually have some usecase, so a suggestion: Have case/if blocks on $(hostname), or even do something like `test -f ~/dotfiles/bashrc.$(hostname).local && source ~/dotfiles/bashrc.$(hostname).local`

There are no comments on this comment yet.