2013-03-16 21:28:28 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
2013-03-21 00:07:56 -07:00
|
|
|
GREEN=$(tput setaf 2)
|
|
|
|
RS=$(tput sgr0)
|
2013-03-16 21:28:28 -07:00
|
|
|
|
2013-03-21 00:07:56 -07:00
|
|
|
src=$(cd "$(dirname "$0")"; pwd)
|
2013-03-17 11:58:33 -07:00
|
|
|
if [ ! -d $src/install ]; then
|
2013-03-21 00:07:56 -07:00
|
|
|
echo -e "$GREEN==> Cloning dotfiles repo"
|
|
|
|
git clone https://github.com/hlissner/dotfiles.git ~/.dotfiles | sed "s/^/ /"
|
2013-03-17 11:58:33 -07:00
|
|
|
src="~/.dotfiles"
|
|
|
|
fi
|
|
|
|
|
2013-03-21 00:07:56 -07:00
|
|
|
{
|
|
|
|
$src/install/osx
|
|
|
|
$src/install/zsh
|
|
|
|
$src/install/brew
|
|
|
|
$src/install/git
|
|
|
|
$src/install/rvm
|
|
|
|
$src/install/tmux
|
|
|
|
} | sed "s/^/ /"
|
2013-03-16 21:28:28 -07:00
|
|
|
|
2013-03-17 11:58:33 -07:00
|
|
|
echo "Done!"
|
|
|
|
echo "And if you want to install vim, run:"
|
|
|
|
echo " sh <(curl https://raw.github.com/hlissner/mlvim/master/install.sh -L)"
|