From 6e3ac46a2b207d7d9be24733d77b33b169c99ecc Mon Sep 17 00:00:00 2001 From: Saibotk Date: Tue, 3 Dec 2024 00:29:35 +0100 Subject: [PATCH] fix(macos): do not kill terminal after preferences are applied --- install-mac.sh | 9 +++------ macos/.macos | 1 - 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/install-mac.sh b/install-mac.sh index 5f2eda2..2535a1f 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -58,11 +58,8 @@ sudo scutil --set ComputerName "$computername" sudo scutil --set HostName "$computername" sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "$computername" -# Call the general install script to setup zsh etc. -source install.sh - -echo "> FINISHED 🏁 The setup will now set some macOS preferences and exit afterwards." -read -p "Press enter to continue" - # Set macOS preferences - we will run this last because this will reload the shell source ${DOTFILES}/macos/.macos + +# Call the general install script to setup zsh etc. +source install.sh diff --git a/macos/.macos b/macos/.macos index b8e862b..bedafc1 100644 --- a/macos/.macos +++ b/macos/.macos @@ -783,7 +783,6 @@ for app in "Activity Monitor" \ "Photos" \ "Safari" \ "SystemUIServer" \ - "Terminal" \ "iCal"; do killall "${app}" &> /dev/null done