1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-09 12:21:33 -05:00
macOS-Setup-Script/install.sh

21 lines
931 B
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
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 | sudo tee /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 butane hugo nmap
brew install --cask docker github gpg-suite microsoft-auto-update microsoft-edge parallels protonvpn visual-studio-code
# Verify SSH Fingerprints
echo "VerifyHostKeyDNS=true" | sudo tee /etc/ssh/ssh_config.d/VerifyHostKeyDNS.conf
sudo chmod 644 /etc/ssh/ssh_config.d/VerifyHostKeyDNS.conf