From 0a6cde9cfb187d06b4fb0d92302ac08b24be4f43 Mon Sep 17 00:00:00 2001 From: Rui Coelho Date: Fri, 28 Oct 2016 12:56:03 +0100 Subject: [PATCH] Add alias to brew cask upgrade --- modules/homebrew/init.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/homebrew/init.zsh b/modules/homebrew/init.zsh index 1ebe793d..f28773dc 100644 --- a/modules/homebrew/init.zsh +++ b/modules/homebrew/init.zsh @@ -31,3 +31,5 @@ alias caski='brew cask install' alias caskl='brew cask list' alias casks='brew cask search' alias caskx='brew cask uninstall' +# see https://github.com/caskroom/homebrew-cask/issues/309 +alias casku='for c in `brew cask list`; do ! brew cask info $c | grep -qF "Not installed" || brew cask install $c; done'