Add homebrew install script

This commit is contained in:
Henrik Lissner 2015-12-27 02:44:40 -05:00
parent b746b21948
commit e3b1b653df

44
scripts/brew.sh Normal file
View file

@ -0,0 +1,44 @@
#!/usr/bin/env bash
if ! command -v "brew" >/dev/null; then
echo "Homebrew isn't installed. Installing it!"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
BREW=/usr/local/bin/brew
{
install() { ${BREW} install $@; }
tap() { ${BREW} tap $@; }
brew update; brew upgrade --all; brew cleanup;
tap caskroom/cask
tap neovim/neovim
tap homebrew/php
tap homebrew/python
tap homebrew/science
tap homebrew/text
tap nviennot/tmate
install wget git curl hub watch tmux tree jq
install imagemagick pandoc
install the_silver_searcher
install zsh --without-etcdir
install fasd fzf
# Emacs ###############################################
install emacs --with-cocoa --with-imagemagick --HEAD
install neovim macvim
# Programming
install go rust node # nim
# Code tools
install editorconfig racer boris plantuml
cask java dropbox love virtualbox vagrant
cask basictex
cask appcleaner
cask skype
} 2>&1 | sed 's/^/ /'