Skip to content

Instantly share code, notes, and snippets.

@coreygo
Created April 5, 2019 04:16
Show Gist options
  • Save coreygo/e2dacd611a2db7df1b77ba349286b5f9 to your computer and use it in GitHub Desktop.
Save coreygo/e2dacd611a2db7df1b77ba349286b5f9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# generate array lines
# `brew tap | xargs -I {} echo \'{}\' | pbcopy`
# generate command lines
# `brew tap | xargs -I {} echo brew tap {} | pbcopy`
declare -a taps=(
'buo/cask-upgrade'
'homebrew/cask'
'homebrew/cask-drivers'
'homebrew/cask-fonts'
'homebrew/cask-versions'
'homebrew/core'
'homebrew/services'
'vitorgalvao/tiny-scripts'
)
for tap in "${taps[@]}"; do
brew tap "$tap"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment