1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-24 18:51:34 -05:00

Compare commits

...

3 Commits

Author SHA1 Message Date
ba9fa6ffec
Consistency fix
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-07 01:42:21 -07:00
21fbb2a37b
Add gnu sed
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-07 01:39:44 -07:00
5f62db0859
Add powerhsell
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-07 01:33:59 -07:00
2 changed files with 7 additions and 5 deletions

View File

@ -1,11 +1,11 @@
#!/bin/zsh #!/bin/zsh
#Comment this line out if you don't have Touch ID # 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 awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo
# Verify SSH Fingerprints # Verify SSH Fingerprints
echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
#Enable Safari debug menu # Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1 defaults write com.apple.Safari IncludeInternalDebugMenu 1

View File

@ -1,6 +1,6 @@
#!/bin/zsh #!/bin/zsh
#Comment this line out if you don't have Touch ID # 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 awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo
# Verify SSH Fingerprints # Verify SSH Fingerprints
@ -10,8 +10,10 @@ sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
#Enable Safari debug menu #Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1 defaults write com.apple.Safari IncludeInternalDebugMenu 1
#Install Brew #I nstall Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/autoupdate brew tap homebrew/autoupdate
brew tap homebrew/cask-versions brew tap homebrew/cask-versions
brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail microsoft-edge mullvadvpn orbstack visual-studio-code brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail microsoft-edge mullvadvpn orbstack powershell visual-studio-code
brew install gnu-sed
echo 'PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"' >> /etc/zshrc