fix(macos): do not kill terminal after preferences are applied
This commit is contained in:
parent
784d2d435c
commit
6e3ac46a2b
2 changed files with 3 additions and 7 deletions
|
@ -58,11 +58,8 @@ sudo scutil --set ComputerName "$computername"
|
||||||
sudo scutil --set HostName "$computername"
|
sudo scutil --set HostName "$computername"
|
||||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "$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
|
# Set macOS preferences - we will run this last because this will reload the shell
|
||||||
source ${DOTFILES}/macos/.macos
|
source ${DOTFILES}/macos/.macos
|
||||||
|
|
||||||
|
# Call the general install script to setup zsh etc.
|
||||||
|
source install.sh
|
||||||
|
|
|
@ -783,7 +783,6 @@ for app in "Activity Monitor" \
|
||||||
"Photos" \
|
"Photos" \
|
||||||
"Safari" \
|
"Safari" \
|
||||||
"SystemUIServer" \
|
"SystemUIServer" \
|
||||||
"Terminal" \
|
|
||||||
"iCal"; do
|
"iCal"; do
|
||||||
killall "${app}" &> /dev/null
|
killall "${app}" &> /dev/null
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue