dotfiles/bin/software-install.sh

62 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
2016-01-28 18:40:42 +00:00
#-------------------------------
# Check OS
#-------------------------------
if [ $(uname -s) != "Darwin" ]; then
echo "This should only run on Mac OS X."
exit 1
fi
2016-01-28 18:40:42 +00:00
#-------------------------------
2016-01-28 18:40:42 +00:00
#-------------------------------
# Install Homebrew if missing
#-------------------------------
if [ ! -x /usr/local/bin/brew ]; then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
2016-01-28 18:40:42 +00:00
#-------------------------------
2016-01-28 18:40:42 +00:00
#-------------------------------
# Install the basics
#-------------------------------
xargs brew install <<EOF
git
coreutils
2016-01-27 15:49:34 +00:00
htop
python3
vim
EOF
2016-01-28 18:40:42 +00:00
#-------------------------------
2016-01-28 18:40:42 +00:00
#-------------------------------
# Install Casks
#-------------------------------
xargs brew cask install <<EOF
alfred
bbc-iplayer-downloads
beardedspice
dashlane
day-o
dropbox
cleanmymac
firefox
flux
gitx
gpgtools
google-chrome
google-drive
google-hangouts
handbrake
iterm2
sonos
textmate
vlc
vmware-fusion
wireshark
2016-01-25 10:15:29 +00:00
xquartz
yubikey-neo-manager
yubikey-personalization-gui
EOF
2016-01-28 18:40:42 +00:00
#-------------------------------