1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-09 04:11:33 -05:00
macOS-Setup-Script/install.sh
Tommy ee71369046
Switch to yt-dlp
Signed-off-by: Tommy <contact@tommytran.io>
2022-10-20 02:42:35 -04:00

22 lines
1022 B
Bash

#!/bin/zsh
defaults write com.apple.mail EnableBundles -bool true
echo "export HOMEBREW_NO_ANALYTICS=1" >> ~/.zshrc
echo "gpgconf --launch gpg-agent" >> ~/.zshrc
echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc
echo 'export PATH="$HOME/Library/Android/sdk/platform-tools:$PATH"' >> ~/.zshrc
#Comment this line out if on Intel Mac
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc
#Comment this line out if you don't have Touch ID
awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo > /etc/pam.d/sudo
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/autoupdate
brew install --cask android-studio docker free-gpgmail github ivpn visual-studio-code
brew install ffmpeg yt-dlp
sudo chmod 400 /Applications/IVPN.app/Contents/Resources/etc/ca.crt
sudo chmod 400 /Applications/IVPN.app/Contents/Resources/etc/ta.key
sudo chmod 400 /Applications/IVPN.app/Contents/Resources/etc/dnscrypt-proxy-template.toml