The goal of this project is to keep all my rc files in sync regardless of the computer I'm using (granted it has git installed).
-
Clone the project :
$ git clone git://github.com/jrottenberg/dotrc ~/dotrc
-
Run the symlink helper :
$ ~/dotrc/createSymLinks.sh
-
Enjoy !
Note : All your previous rc files are saved with date suffix, .bashrc.20110625-0049
You should fork the project if you want to keep track of your files and have your own preferences ;-)
New software that requires a config file ?
-
Put that config file (minus the . in the dotrc fodlder)
-
Run $ ~/dotrc/createSymLinks.sh
-
From any of your computer installation propagate the good stuff through git transport (git push, git pull). I've made few aliases to make it easy :
alias dotup="cd ~/dotrc && git pull origin master && cd -"
alias dotpush="cd ~/dotrc && git push && cd -"
alias dotci="git commit ~/dotrc"
- Run htop, the first time it will save default settings in ~/.htoprc
- Configure htop until ~/.htoprc describes really how you like it to be configured
- Copy .htoprc to the dotrc folder without the trailing dot
$ cp ~/.htoprc dotrc/htoptrc
- git add and commit the file so we can start tracking the change
- Run the createSymlinks script
- You now have that htop configure to your liking everywhere you ran the createSymlinks script