Update .local/bin/provision

This commit is contained in:
Brian Zalewski 2022-11-30 08:21:51 +00:00
parent 4e909c6bd7
commit 0fef8df263

View file

@ -150,8 +150,15 @@ ensurePackageManagerHomebrew() {
ensurePackageManagerHomebrew
### Install installer dependencies via Homebrew
installBrewPackage() {
if ! command -v "$1" > /dev/null; then
brew install "$1"
fi
}
if command -v brew > /dev/null; then
brew install chezmoi go-task/tap/go-task jq node yq zx
installBrewPackage chezmoi
installBrewPackage node
installBrewPackage zx
fi
### Ensure source files are present