Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ function doIt() {
source ~/.bash_profile;
}

if [ "$1" == "--force" -o "$1" == "-f" ]; then
if [[ "$1" == "--force" || "$1" == "-f" ]]; then
doIt;
else
read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1;
printf "This may overwrite existing files in your home directory. Are you sure? (y/n) "
read -n 1 REPLY;
echo "";
if [[ $REPLY =~ ^[Yy]$ ]]; then
doIt;
Expand Down
65 changes: 34 additions & 31 deletions brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
brew update

# Upgrade any already-installed formulae.
brew upgrade --all
brew upgrade

# Install GNU core utilities (those that come with OS X are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
Expand All @@ -42,8 +42,8 @@ sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'
# Change to the new shell, prompts for password
chsh -s /usr/local/bin/bash

# Install `wget` with IRI support.
brew install wget --with-iri
# Install `wget` (IRI support is now built-in by default)
brew install wget

# Install RingoJS and Narwhal.
# Note that the order in which these are installed is important;
Expand All @@ -62,11 +62,12 @@ LINE='eval "$(rbenv init -)"'
grep -q "$LINE" ~/.extra || echo "$LINE" >> ~/.extra

# Install more recent versions of some OS X tools.
brew install vim --override-system-vi
brew install homebrew/dupes/grep
brew install homebrew/dupes/openssh
brew install homebrew/dupes/screen
brew install homebrew/php/php55 --with-gmp
brew install vim
brew install grep
brew install openssh
brew install screen
# Note: PHP 5.5 is deprecated, consider using a newer version
# brew install php

# Install font tools.
brew tap bramstein/webfonttools
Expand Down Expand Up @@ -97,7 +98,7 @@ brew install tcpflow
brew install tcpreplay
brew install tcptrace
brew install ucspi-tcp # `tcpserver` etc.
brew install homebrew/x11/xpdf
brew install xpdf
brew install xz

# Install other useful binaries.
Expand All @@ -109,7 +110,7 @@ brew install git-lfs
brew install git-flow
brew install git-extras
brew install hub
brew install imagemagick --with-webp
brew install imagemagick
brew install lua
brew install lynx
brew install p7zip
Expand All @@ -120,7 +121,8 @@ brew install rhino
brew install speedtest_cli
brew install ssh-copy-id
brew install tree
brew install webkit2png
# Modern web screenshot alternative (replaces deprecated webkit2png)
brew install wkhtmltopdf # Includes wkhtmltoimage for screenshots
brew install zopfli
brew install pkg-config libffi
brew install pandoc
Expand All @@ -136,38 +138,39 @@ brew install heroku/brew/heroku
heroku update

# Core casks
brew cask install --appdir="/Applications" alfred
brew cask install --appdir="~/Applications" iterm2
brew cask install --appdir="~/Applications" java
brew cask install --appdir="~/Applications" xquartz
brew install --cask alfred
brew install --cask iterm2
brew install --cask java
brew install --cask xquartz

# Development tool casks
brew cask install --appdir="/Applications" sublime-text
brew cask install --appdir="/Applications" atom
brew cask install --appdir="/Applications" virtualbox
brew cask install --appdir="/Applications" vagrant
brew cask install --appdir="/Applications" macdown
brew install --cask sublime-text
brew install --cask cursor
brew install --cask cursor-cli
brew install --cask goneovim
brew install --cask zed
brew install --cask docker
brew install --cask obsidian
brew install --cask notion

# Misc casks
brew cask install --appdir="/Applications" google-chrome
brew cask install --appdir="/Applications" firefox
brew cask install --appdir="/Applications" skype
brew cask install --appdir="/Applications" slack
brew cask install --appdir="/Applications" dropbox
brew cask install --appdir="/Applications" evernote
brew cask install --appdir="/Applications" 1password
#brew cask install --appdir="/Applications" gimp
#brew cask install --appdir="/Applications" inkscape
brew install --cask google-chrome
brew install --cask firefox
brew install --cask slack
brew install --cask dropbox
brew install --cask 1password
#brew install --cask gimp
#brew install --cask inkscape

#Remove comment to install LaTeX distribution MacTeX
#brew cask install --appdir="/Applications" mactex
brew install --cask mactex

# Install Docker, which requires virtualbox
brew install docker
brew install boot2docker

# Install developer friendly quick look plugins; see https://github.com/sindresorhus/quick-look-plugins
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzip qlimagesize webpquicklook suspicious-package quicklookase qlvideo
brew install --cask qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzip webpquicklook suspicious-package quicklookase qlvideo

# Remove outdated versions from the cellar.
brew cleanup
Loading