mirror of
https://github.com/tommytran732/macOS-Setup-Script
synced 2024-11-22 01:41:34 -05:00
Update and rename install.sh to administrator.sh
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
7d7ba11736
commit
062989d67d
8
administrator.sh
Normal file
8
administrator.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/zsh
|
||||
|
||||
#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
|
||||
|
||||
# Verify SSH Fingerprints
|
||||
echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
|
||||
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
|
21
install.sh
21
install.sh
@ -1,21 +0,0 @@
|
||||
#!/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
|
||||
|
||||
#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 | sudo tee /etc/pam.d/sudo
|
||||
|
||||
/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 yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
|
||||
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
|
Loading…
Reference in New Issue
Block a user