diff --git a/README.markdown b/README.markdown index e30326fc5b5..43c5098967c 100644 --- a/README.markdown +++ b/README.markdown @@ -18,13 +18,16 @@ subject](http://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/). ## install -- `git clone git://github.com/holman/dotfiles ~/.dotfiles` -- `cd ~/.dotfiles` -- `rake install` +Run this: -The install rake task will symlink the appropriate files in `.dotfiles` to your -home directory. Everything is configured and tweaked within `~/.dotfiles`, -though. +```sh +git clone https://github.com/holman/dotfiles.git ~/.dotfiles +cd ~/.dotfiles +script/bootstrap +``` + +This will symlink the appropriate files in `.dotfiles` to your home directory. +Everything is configured and tweaked within `~/.dotfiles`, though. The main file you'll want to change right off the bat is `zsh/zshrc.symlink`, which sets up a few paths that'll be different on your particular machine. diff --git a/script/bootstrap b/script/bootstrap new file mode 100755 index 00000000000..56bf79e6c8a --- /dev/null +++ b/script/bootstrap @@ -0,0 +1,9 @@ +#!/bin/sh +# +# bootstrap installs things. + +# Assume everyone's on OS X and run Homebrew (*nix-ers beware) +. script/homebrew + +# Run the install (I'd like to pull this out of rake, eventually) +rake install \ No newline at end of file diff --git a/script/homebrew b/script/homebrew new file mode 100755 index 00000000000..24ad2ae9ef2 --- /dev/null +++ b/script/homebrew @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Homebrew +# +# This installs some of the common dependencies needed (or at least desired) +# using Homebrew. + +# Check for Homebrew +if test ! $(which brew) +then + echo " x You should probably install Homebrew first:" + echo " https://github.com/mxcl/homebrew/wiki/installation" + exit +else + echo " + Homebrew found." +fi + +# Install grc and coreutils +brew install grc coreutils \ No newline at end of file