From e3b1b653df4acedb52f452c79040bc3f5cedb1be Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 27 Dec 2015 02:44:40 -0500 Subject: [PATCH] Add homebrew install script --- scripts/brew.sh | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 scripts/brew.sh diff --git a/scripts/brew.sh b/scripts/brew.sh new file mode 100644 index 00000000..79a56d67 --- /dev/null +++ b/scripts/brew.sh @@ -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/^/ /' +