by Todd Gamblin, [email protected]
This repo contains tools to help you keep your home directory synchronized across machines.
To get started there are three easy steps:
- Fork this repo, then clone it somewhere in your home directory.
- Put your dotfiles in
home
and check them in. - Run the
link
script to create symbolic links in your home directory to everything inhome
.
Now your dotfiles are in a git repo and you can clone them anywhere and keep them synchronized.
Fork this repo and put your dotfiles in it:
git clone [email protected]:your-name/dotfiles.git .dotfiles
cp .bashrc .bash_profile .emacs .gitconfig .dotfiles/home
Then commit them all to the git repo to keep them synced.
Setting your environment up on a new machine is now simple:
git clone [email protected]:your-name/dotfiles.git .dotfiles
.dotfiles/link
If something goes wrong, not to worry. link
keeps backups in ~/.dotfiles-backup
. You can run unlink
to delete all the symbolic links and put yourold config files back where they were:
.dotfiles/unlink
Run .dotfiles/help for more information.