From df46fb7d0fe0339c7cdae0511b03fbe9279231f0 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sat, 8 Feb 2014 19:00:32 -0500 Subject: update readme --- README.md | 27 +++++++++++++-------------- zshrc-local | 3 +-- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 2fd6846..75f3172 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/zshrc-local b/zshrc-local index 5b2e819..f809c5c 100644 --- a/zshrc-local +++ b/zshrc-local @@ -5,6 +5,5 @@ # get tex binaries on the path #export PATH=/usr/local/texlive/2009basic/bin/universal-darwin:$PATH -# if unset, certain shell features behave differently -# e.g. prompt hostname is highlighted in red for non-local envs +# prompt hostname is highlighted in red for non-local envs #export ZSH_LOCAL_ENV=true -- cgit v1.2.3