fix(macos): do not kill terminal after preferences are applied

This commit is contained in:
Saibotk 2024-12-03 00:29:35 +01:00
parent 784d2d435c
commit 6e3ac46a2b
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 3 additions and 7 deletions

View file

@ -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

View file

@ -783,7 +783,6 @@ for app in "Activity Monitor" \
"Photos" \
"Safari" \
"SystemUIServer" \
"Terminal" \
"iCal"; do
killall "${app}" &> /dev/null
done