Skip to content

Instantly share code, notes, and snippets.

@leohmoraes
Forked from ducky-hong/gist:fbfbbcbfcd97b24d4182
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leohmoraes/c4b9b59c8a00720f8425 to your computer and use it in GitHub Desktop.
Save leohmoraes/c4b9b59c8a00720f8425 to your computer and use it in GitHub Desktop.
mac-bootstrap
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