From 099c3f209ea9c557d5817ae9d10b4603cdb5515f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 26 Dec 2024 15:09:30 -0700 Subject: [PATCH] add cask for git-credential-manager --- .chezmoidata/packages.yaml | 2 ++ run_onchange_install-packages.sh.tmpl | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.chezmoidata/packages.yaml b/.chezmoidata/packages.yaml index 8c02936..7993efa 100644 --- a/.chezmoidata/packages.yaml +++ b/.chezmoidata/packages.yaml @@ -5,6 +5,8 @@ packages: - curl - fish - direnv + casks: + - git-credential-manager linux: dnfs: - git-all diff --git a/run_onchange_install-packages.sh.tmpl b/run_onchange_install-packages.sh.tmpl index 9d99b1e..5286ed1 100644 --- a/run_onchange_install-packages.sh.tmpl +++ b/run_onchange_install-packages.sh.tmpl @@ -28,6 +28,11 @@ echo "[-] Updating brews [-]" {{ range .packages.darwin.brews -}} /opt/homebrew/bin/brew install {{ . | quote }} {{ end -}} + +echo "[-] Updating casks [-]" +{{ range .packages.darwin.casks -}} +/opt/homebrew/bin/brew install --cask {{ . | quote }} +{{ end -}} {{ end -}} echo "[-] Updating Webman groups [-]"