mirror of
https://github.com/tommytran732/macOS-Setup-Script
synced 2024-11-22 18:01:33 -05:00
Compare commits
2 Commits
dd4ee3fef4
...
9b0e1f833b
Author | SHA1 | Date | |
---|---|---|---|
9b0e1f833b | |||
cdcd598dee |
@ -1,3 +1,4 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
# shellcheck disable=SC1071
|
||||||
|
|
||||||
echo 'butane="docker run -i --rm --pull always quay.io/coreos/butane:release --pretty --strict <"' >> ~/.zshrc
|
echo 'butane="docker run -i --rm --pull always quay.io/coreos/butane:release --pretty --strict <"' >> ~/.zshrc
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
# shellcheck disable=SC1071
|
||||||
|
|
||||||
# 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
|
||||||
@ -43,4 +44,4 @@ sudo chmod 744 '/Library/Tomster Corporation/scripts/apply_prefs.sh'
|
|||||||
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Managed%20Preferences/com.microsoft.Edge.plist | sudo tee '/Library/Tomster Corporation/prefs/com.microsoft.Edge.plist'
|
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Managed%20Preferences/com.microsoft.Edge.plist | sudo tee '/Library/Tomster Corporation/prefs/com.microsoft.Edge.plist'
|
||||||
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Preferences/com.microsoft.Edge.plist | sudo tee /Library/Preferences/com.microsoft.Edge.plist
|
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Preferences/com.microsoft.Edge.plist | sudo tee /Library/Preferences/com.microsoft.Edge.plist
|
||||||
curl https://raw.githubusercontent.com/TommyTran732/macOS-Setup-Script/main/etc/Library/LaunchDaemons/io.tommytran.prefs.plist | sudo tee /etc/Library/LaunchDaemons/io.tommytran.prefs.list
|
curl https://raw.githubusercontent.com/TommyTran732/macOS-Setup-Script/main/etc/Library/LaunchDaemons/io.tommytran.prefs.plist | sudo tee /etc/Library/LaunchDaemons/io.tommytran.prefs.list
|
||||||
sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist
|
sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
# shellcheck disable=SC1071
|
||||||
|
|
||||||
/bin/sleep 5
|
/bin/sleep 5
|
||||||
/bin/cp -r '/Library/Tomster Corporation/prefs/' '/Library/Managed Preferences/'
|
/bin/cp -r '/Library/Tomster Corporation/prefs/' '/Library/Managed Preferences/'
|
@ -1,3 +1,6 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
# shellcheck disable=SC1071
|
||||||
|
|
||||||
echo "gpgconf --launch gpg-agent" >> ~/.zshrc
|
echo "gpgconf --launch gpg-agent" >> ~/.zshrc
|
||||||
echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc
|
echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc
|
||||||
echo "enable-ssh-support" >> ~/.gnupg/gpg-agent.conf
|
echo "enable-ssh-support" >> ~/.gnupg/gpg-agent.conf
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
# shellcheck disable=SC1071
|
||||||
|
|
||||||
# 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
|
||||||
@ -24,4 +25,4 @@ sudo chmod 744 '/Library/Tomster Corporation/scripts/apply_prefs.sh'
|
|||||||
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Managed%20Preferences/com.microsoft.Edge.plist | sudo tee '/Library/Tomster Corporation/prefs/com.microsoft.Edge.plist'
|
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Managed%20Preferences/com.microsoft.Edge.plist | sudo tee '/Library/Tomster Corporation/prefs/com.microsoft.Edge.plist'
|
||||||
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Preferences/com.microsoft.Edge.plist | sudo tee /Library/Preferences/com.microsoft.Edge.plist
|
curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/macOS/Preferences/com.microsoft.Edge.plist | sudo tee /Library/Preferences/com.microsoft.Edge.plist
|
||||||
curl https://raw.githubusercontent.com/TommyTran732/macOS-Setup-Script/main/etc/Library/LaunchDaemons/io.tommytran.prefs.plist | sudo tee /etc/Library/LaunchDaemons/io.tommytran.prefs.list
|
curl https://raw.githubusercontent.com/TommyTran732/macOS-Setup-Script/main/etc/Library/LaunchDaemons/io.tommytran.prefs.plist | sudo tee /etc/Library/LaunchDaemons/io.tommytran.prefs.list
|
||||||
sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist
|
sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist
|
Loading…
Reference in New Issue
Block a user