change script filename

This commit is contained in:
2025-04-23 21:13:45 +08:00
parent 3bcad3a8e8
commit 8a7ea22feb
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{{ if eq .chezmoi.os "darwin" -}}
#!/bin/sh
# Install Homebrew
command -v brew >/dev/null 2>&1 || \
(echo '🍺 Installing Homebrew' && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
brew bundle --file=/dev/stdin <<EOF
{{ range .packages.darwin.brews -}}
brew {{ . | quote }}
{{ end -}}
{{ range .packages.darwin.casks -}}
cask {{ . | quote }}
{{ end -}}
EOF
{{ end -}}