by Alec Scott and Todd Gamblin
To get started there are three easy steps:
- Fork this repo, then clone your fork to your computer.
- Put your dotfiles in
home/
and check them in. - Run the
link
script to create symbolic links in your home directory.
Now your dotfiles are in a git repo and you can clone them anywhere and keep them synchronized.
alec@laptop dotfiles % ./link
linking dotfiles
from: /Users/alecbcs/src/dotfiles/home
into: /Users/alecbcs
# exclude a file/directory
alec@laptop dotfiles % ./link -e .emacs.d
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 your old config files back where they were:
alec@laptop dotfiles % ./unlink
unlinking dotfiles
from: /Users/alecbcs/src/dotfiles/home
into: /Users/alecbcs