Ubuntu – Synchronize profiles across servers (.vimrc and .bashrc)

bashbashrcsync

I'm on a few different servers on any given day. I'm starting to really tweak two files in my bash profile: .vimrc and alias.sh. Would anyone have a recommended way to save and sync these two files. Perhaps using rsync or unison (over ssh using a predefined shared key)? Has anyone set this up before?

Best Answer

Use a version control system like subversion or git. As a bonus, if used correctly, you get the answer to the inevitable question; Why on earth did I put that in there?