#!/bin/sh
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

# Check for Homebrew
if test ! $(which brew)
then
  echo "  Installing Homebrew for you."

  # Install the correct homebrew for each OS type
  if test "$(uname)" = "Darwin"
  then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  elif test "$(expr substr $(uname -s) 1 5)" = "Linux"
  then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
  fi

fi

# Install homebrew packages
brew install \
antigen \
asciinema \
awscli \
aws-shell \
blink1 \
coreutils \
cowsay \
curl \
emacs \
git \
git-extras \
go \
grc \
httpie \
hub \
jq \
keybase \
node \
openssl \
osquery \
pam_yubico \
reattach-to-user-namespace \
ruby \
speedtest-cli \
sqlite \
tmux \
tmux-mem-cpu-load \
tree \
vim \
wget \
zsh \
spark
brew install lastpass-cli --with-pinentry --with-doc

exit 0

#!/bin/sh
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

# Check for Homebrew
if test ! $(which brew)
then
  echo "  Installing Homebrew for you."

  # Install the correct homebrew for each OS type
  if test "$(uname)" = "Darwin"
  then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  elif test "$(expr substr $(uname -s) 1 5)" = "Linux"
  then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
  fi

fi

# Install homebrew packages
brew install \
antigen \
asciinema \
awscli \
aws-shell \
blink1 \
caskroom/cask/brew-cask \
coreutils \
cowsay \
curl \
emacs \
figlet \
git \
git-extras \
go \
grc \
httpie \
hub \
jq \
keybase \
lynx \
node \
openssl \
osquery \
pam_yubico \
reattach-to-user-namespace \
ruby \
speedtest-cli \
sqlite \
sysdig \
tmux \
tmux-mem-cpu-load \
tree \
vim \
wget \
zsh \
spark
brew install lastpass-cli --with-pinentry --with-doc

# Install brew cask packages
brew cask install \
consul \
dockertoolbox \
gitup \
nomad \
otto \
packer \
serf \
terraform \
vagrant \
vault

exit 0

--- 
+++ 
@@ -28,12 +28,10 @@
 awscli \
 aws-shell \
 blink1 \
-caskroom/cask/brew-cask \
 coreutils \
 cowsay \
 curl \
 emacs \
-figlet \
 git \
 git-extras \
 go \
@@ -42,7 +40,6 @@
 hub \
 jq \
 keybase \
-lynx \
 node \
 openssl \
 osquery \
@@ -51,7 +48,6 @@
 ruby \
 speedtest-cli \
 sqlite \
-sysdig \
 tmux \
 tmux-mem-cpu-load \
 tree \
@@ -61,17 +57,4 @@
 spark
 brew install lastpass-cli --with-pinentry --with-doc
 
-# Install brew cask packages
-brew cask install \
-consul \
-dockertoolbox \
-gitup \
-nomad \
-otto \
-packer \
-serf \
-terraform \
-vagrant \
-vault
-
 exit 0
Remove unnecessary brew and cask packages.

Signed-off-by: Alan Williams <c64232c20b9c3c05a58692a689afb9e1cd2ad4a0@gmail.com>
