Skip to content

Instantly share code, notes, and snippets.

@ezy023
Last active December 27, 2015 09:49
Show Gist options
  • Save ezy023/7306568 to your computer and use it in GitHub Desktop.
Save ezy023/7306568 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
# Make dotfiles directory
# mkdir ~/Documents/dofiles
DIRECTORY="/Users/$USER/Documents/dotfiles"
if [ ! -d $DIRECTORY ]; then
mkdir $DIRECTORY
fi
curl https://raw.github.com/allareri/dotfiles/master/vimrc > $DIRECTORY/vimrc
curl https://raw.github.com/allareri/dotfiles/master/bash_profile > $DIRECTORY/bash_profile
curl https://raw.github.com/allareri/dotfiles/master/.tmux.conf > $DIRECTORY/tmux.conf
curl https://raw.github.com/allareri/dotfiles/master/gitconfig > $DIRECTORY/gitconfig
# Install zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
curl https://raw.github.com/allareri/dotfiles/master/zshrc > $DIRECTORY/zshrc
# Install brew packages
# brew install ack
# brew install tree
# brew install tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment