diff options
author | Matt Singleton <matt@xcolour.net> | 2014-02-08 19:00:32 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2014-02-08 19:00:32 -0500 |
commit | df46fb7d0fe0339c7cdae0511b03fbe9279231f0 (patch) | |
tree | fd58a72f785f20d09e8827dd5bd78e55bd2e1e78 /README.md | |
parent | 3c4757dda2cf7484e47e3bbb8b1d4b08370404d8 (diff) |
update readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -5,20 +5,19 @@ 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: +Then run the deploy script: $ 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 any custom local behavior. Take a look inside the file for ideas. +This script does the following: + - Clear out `$PWD/dotfiles-backup/`. + - Back up any existing dotfiles to `$PWD/dotfiles-backup/`. + - Replace existing dotfiles with symlinks to the corresponding file in the + repo. + - Clone Vundle into `~/.vim/bundle/vundle/` and run `BundleInstall`. + will back up any existing dotfiles to `$PWD/dotfiles-backup/` + - Create `~/.zshrc-local` (if one doesn't already exist) for setting up local + behavior. Take a look inside for ideas. + +The prompt will highligh the local host name in red unless `ZSH_LOCAL_ENV=true` +is set. That's a good one for `~/.zshrc-local`. |