Hacker News new | ask | show | jobs
by vlthr 2830 days ago
If you're mostly on Linux/Mac I can strongly recommend using a dotfiles repository containing all of your config files and a script that you can run to create symlinks to all of these files in the correct places.

With small tweaks like a non-symlinked file that contains only machine local variables (I call mine .bashrc.local and source it from the main bashrc), you can evem make the configs vary across machines on the subtler things.

This works wonders for me getting custom configs everywhere, with the exception of windows machines that are always a huge headache to work with.

1 comments

This kind of scheme goes to hell once you're bouncing between networks unfortunately. Especially when you're on completely disconnected machines half of the time.