1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-09-19 15:44:43 -04:00
macOS-Setup-Script/install.sh

22 lines
1.0 KiB
Bash
Raw Normal View History

2022-04-09 05:50:09 -04:00
#!/bin/zsh
2022-04-21 06:07:58 -04:00
defaults write com.apple.mail EnableBundles -bool true
2022-06-17 06:26:08 -04:00
echo "export HOMEBREW_NO_ANALYTICS=1" >> ~/.zshrc
2022-06-05 06:15:00 -04:00
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
2022-06-22 02:41:56 -04:00
2022-06-05 06:17:27 -04:00
#Comment this line out if on Intel Mac
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc
2022-06-22 02:41:56 -04:00
#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
2022-06-18 00:08:33 -04:00
/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 youtube-dl
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