Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.442 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/usr/bin/env bash

# A script to install these dotfiles onto a new machine.
#
# Usage:
# bash < <( curl http://github.com/pturley/dotfiles/raw/master/local-install.sh )

DOTFILE_PATH="${DOTFILE_PATH:-$HOME/.dotfiles}"

if [[ -d "$HOME/.dotfiles" ]]; then
pushd $DOTFILE_PATH
    git pull origin master
else
git clone http://github.com/betarelease/dotfiles.git $DOTFILE_PATH
    pushd $DOTFILE_PATH
fi

/usr/bin/env ruby install.rb
Something went wrong with that request. Please try again.