Forked from ducky-hong/gist:fbfbbcbfcd97b24d4182
Last active
August 29, 2015 14:26
-
-
Save leohmoraes/c4b9b59c8a00720f8425 to your computer and use it in GitHub Desktop.
mac-bootstrap
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
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