Last active
August 29, 2015 14:02
-
-
Save nithinbekal/4d13ed594a44d9582bda to your computer and use it in GitHub Desktop.
Script used to set up Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create code and play directories | |
mkdir -p ~/code/play | |
# Install brew | |
# Might need to install XCODE command line tools | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
# Install zsh and reopen terminal | |
brew install zsh | |
chsh -s /bin/zsh | |
# Install oh-my-zsh | |
curl -L http://install.ohmyz.sh | sh | |
# Install git | |
brew install git | |
git config --global user.name "Nithin Bekal" | |
git config --global user.email "[email protected]" | |
# Install my dotfiles | |
git clone https://github.com/nithinbekal/dotfiles.git code/dotfiles | |
cd code/dotfiles | |
rake install | |
cd | |
# Install RVM | |
\curl -sSL https://get.rvm.io | bash -s stable | |
rvm install ruby | |
rvm install 2.0.0 | |
# Configure vim | |
mkdir -p ~/.vim/bundle | |
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
vim +PluginInstall +qall | |
# Create tmp file path for vim | |
mkdir -p ~/.tmp | |
brew install imagemagick | |
brew install ctags | |
brew install the_silver_searcher | |
# Install sublime from: http://www.sublimetext.com/3 | |
# Install PCKeyboardHack: https://pqrs.org/macosx/keyremap4macbook/pckeyboardhack.html.en |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment