From 5b3cacbae92103ccc096900ff734be847ed2bc51 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Thu, 14 Nov 2019 16:05:56 -0800 Subject: [PATCH] darwin: Skip unnecessary brew installs --- brew/formulae | 2 +- darwin.conf.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/brew/formulae b/brew/formulae index 76c95c2..b235479 100644 --- a/brew/formulae +++ b/brew/formulae @@ -8,7 +8,7 @@ moreutils mosh neovim pyenv -python3 +python ripgrep shellcheck task diff --git a/darwin.conf.yaml b/darwin.conf.yaml index f41ee6b..d460f91 100644 --- a/darwin.conf.yaml +++ b/darwin.conf.yaml @@ -1,3 +1,3 @@ - shell: - - cat brew/formulae | xargs brew install - - cat brew/casks | xargs brew cask install + - comm -13 <(brew list) brew/formulae | xargs brew install + - comm -13 <(brew cask list) brew/casks | xargs brew cask install