Created
February 24, 2015 16:37
-
-
Save ducky-hong/fbfbbcbfcd97b24d4182 to your computer and use it in GitHub Desktop.
mac-bootstrap
This file contains hidden or 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
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
brew update | |
brew install coreutils | |
brew install findutils | |
brew install bash | |
brew install zsh | |
brew tap homebrew/dupes | |
brew install homebrew/dupes/grep | |
echo '$PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH' >> ~/.bash_profile | |
binaries=( | |
rename | |
ack | |
hub | |
git | |
) | |
echo "installing binaries..." | |
brew install ${binaries[@]} | |
brew cleanup | |
brew install cask | |
echo "installing binaries..." | |
brew install ${binaries[@]} | |
brew cleanup | |
brew install caskroom/cask/brew-cask | |
app=( | |
google-chrome | |
appcleaner | |
seil | |
iterm2 | |
sublime-text3 | |
dash | |
virtualbox | |
vagrant | |
vlc | |
java | |
android-studio | |
android-file-transfer | |
) | |
echo "installing apps..." | |
brew cask install --appdir="/Applications" ${apps[@]} | |
brew tap caskroom/fonts | |
echo "installing fonts..." | |
brew cask install font-source-code-pro | |
echo "installing oh-my-zsh..." | |
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh | |
echo "installing basic_vimrc..." | |
git clone git://github.com/amix/vimrc.git ~/.vim_runtime | |
sh ~/.vim_runtime/install_basic_vimrc.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment