Compare commits

...

2 Commits

Author SHA1 Message Date
Tommy 9b0e1f833b
Use load -w instead of load
Signed-off-by: Tommy <contact@tommytran.io>
2024-04-09 01:12:58 -07:00
Tommy cdcd598dee
Disable shellcheck
Signed-off-by: Tommy <contact@tommytran.io>
2024-04-09 01:06:43 -07:00
5 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#!/bin/zsh
# shellcheck disable=SC1071
echo 'butane="docker run -i --rm --pull always quay.io/coreos/butane:release --pretty --strict <"' >> ~/.zshrc

View File

@ -1,4 +1,5 @@
#!/bin/zsh
# shellcheck disable=SC1071
# 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
@ -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/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
sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist
sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist

View File

@ -1,4 +1,5 @@
#!/bin/zsh
# shellcheck disable=SC1071
/bin/sleep 5
/bin/cp -r '/Library/Tomster Corporation/prefs/' '/Library/Managed Preferences/'

View File

@ -1,3 +1,6 @@
#!/bin/zsh
# shellcheck disable=SC1071
echo "gpgconf --launch gpg-agent" >> ~/.zshrc
echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc
echo "enable-ssh-support" >> ~/.gnupg/gpg-agent.conf

View File

@ -1,4 +1,5 @@
#!/bin/zsh
# shellcheck disable=SC1071
# 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
@ -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/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
sudo launchctl load /Library/LaunchDaemons/io.tommytran.prefs.plist
sudo launchctl load -w /Library/LaunchDaemons/io.tommytran.prefs.plist