Created
August 16, 2023 05:15
-
-
Save dtjm/bb12947bb607ec4ea9f3906fa255f221 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
echo "-- installing homebrew" | |
if ! type "brew" > /dev/null; then | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
fi | |
if [[ ! -x /opt/homebrew/bin/zsh ]]; then | |
brew install zsh | |
echo "-- changing shell to zsh" | |
sudo sh -c "echo /opt/homebrew/bin/zsh >> /etc/shells" | |
chsh -s /opt/homebrew/bin/zsh | |
fi | |
if [[ ! -d ~/.oh-my-zsh ]]; then | |
echo "-- install oh-my-zsh" | |
curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh | |
fi | |
echo "-- installing homebrew packages" | |
brew install \ | |
mas \ | |
starship \ | |
; | |
# homebrew/cask-drivers/fujitsu-scansnap-home | |
brew install --cask 1password \ | |
dropbox \ | |
goland \ | |
iterm2 \ | |
swish \ | |
visual-studio-code \ | |
homebrew/cask-fonts/font-jetbrains-mono \ | |
shortcat \ | |
; | |
mas install 1179623856 # Pastebot (2.2.1) | |
echo "-- installing PasteBot Paste Service" | |
curl -o ~/Downloads/PastebotServiceInstaller.zip https://tapbots.net/pastebot2/PastebotServiceInstaller.zip | |
pushd ~/Downloads | |
unzip PastebotServiceInstaller.zip | |
open "Pastebot Service Installer.app" | |
popd | |
rm ~/Downloads/PastebotServiceInstaller.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment