Browse files

.brew: Install native apps through homebrew-cask

Closes #200.
  • Loading branch information...
1 parent cbcc4b1 commit d9ada0eefac30a1a6c27e3825f1e05b46753ae1f @mathiasbynens committed May 2, 2013
Showing with 29 additions and 1 deletion.
  1. +26 −1 .brew
  2. +3 −0 .exports
View
27 .brew
@@ -32,7 +32,7 @@ brew install php54
#brew install homebrew/dupes/vim
#brew install homebrew/dupes/screen
-# Install everything else
+# Install other useful binaries
brew install ack
#brew install exiv2
brew install git
@@ -49,5 +49,30 @@ brew install zopfli
brew tap homebrew/versions
brew install lua52
+# Install native apps
+brew tap phinze/homebrew-cask
+brew install brew-cask
+
+function installcask() {
+ if brew cask info "${@}" | grep "Not installed" > /dev/null; then
+ brew cask install "${@}"
+ else
+ echo "${@} is already installed."
+ fi
+}
+
+installcask google-chrome
+installcask google-chrome-canary
+installcask iterm2
+installcask macvim
+installcask miro-video-converter
+installcask sublime-text
+installcask the-unarchiver
+installcask tor-browser
+installcask transmission
+installcask ukelele
+installcask virtualbox
+installcask vlc
+
# Remove outdated versions from the cellar
brew cleanup
View
3 .exports
@@ -20,3 +20,6 @@ export MANPAGER="less -X"
# Always enable colored `grep` output
export GREP_OPTIONS="--color=auto"
+
+# Link Homebrew casks in `/Applications` rather than `~/Applications`
+export HOMEBREW_CASK_OPTS="--appdir=/Applications"

0 comments on commit d9ada0e

Please sign in to comment.