diff options
author | Matt Singleton <matt@xcolour.net> | 2011-12-19 03:09:35 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2011-12-19 03:09:35 -0500 |
commit | 622ae91a72b4097bd4d7178592d64efdb0281c61 (patch) | |
tree | 21e0c32614a91076eab91c6e8d7ff9073f8cd058 | |
parent | 0b506ee785c51b7e4ac885c554028d9c03cf5e85 (diff) |
update the readme
-rw-r--r-- | README.md | 29 |
1 files changed, 23 insertions, 6 deletions
@@ -1,9 +1,26 @@ -Check out the repo somewhere and then run `deploy.sh` from inside the repo. +## Installation -The script will back up any existing dotfiles to `$REPODIR/dotfiles-backup/` +You're going to want to make changes, so before you do anything, fork this repo +and make it your own. + +Clone it somewhere on your local machine: + + $ git clone git://github.com/xcolour/dotfiles.git ~/.dotfiles + +I use Pathogen with git sumbodules to manage vim plugins, so clone the plugins +too (if you care about vim): + + $ cd ~/.dotfiles + $ git submodule update --init + +This next step is supposed to back up your existing dotfiles before replacing +them, but since you're smart and I'm just some random guy on the internet, +you'll back up anything you care about by hand first and you won't blame me if +anything goes wrong. Once that's done, you're ready to install your dotfiles: + + $ sh deploy.sh + +This script will back up any existing dotfiles to `$REPODIR/dotfiles-backup/` and then replace the dotfiles in question with symlinks into the repo. It will also create a file called `.zshrc-local` (if one doesn't already exist) where -you can set up an custom local behavior. Take a look inside the file for ideas. - -Once you have the symlinks set up, all you have to do to get updates is `git -pull`, the symlinks will take care of the rest! +you can set up any custom local behavior. Take a look inside the file for ideas. |