
"/System/Library/CoreServices/Menu Extras/nu" \ "/System/Library/CoreServices/Menu Extras/nu"ĭefaults write menuExtras -array \ #sudo scutil -set ComputerName "$" dontAutoLoad -array \ PROTIP: The same environment variable can be used by different commands: # Set computer name (as done via System Preferences → Sharing) Sudo commands require a password to be entered. While true do sudo -n true sleep 60 kill -0 "$$" || exit done 2>/dev/null & Different Commandsĭifferent commands are run in the Terminal.app prompt:
#Canary mail sound alert update#
# Keep-alive: update existing `sudo` time stamp until `.macos` has finished # Ask for the administrator password upfront Notice the script file name is “zsh” rather than “sh”, because Apple switched to Zsh as the default. They make for less distractions when working on team programming. These customizations made my life easier, less annoying, and more secure. We’ll be going from top-left to bottom-right on the System Preferferences GUI obtained by clicking the Apple icon at the top-left corner of every screen or pressing control + command +, (comma):

Links in each section within the above script correspond to sections in this page. NOTE: This (and all other content on this website) expresses my personal opinion and not from any employer, past or present. This article provides screen images and background discussion to the automated script that overrides various macOS default configuration settings. Address Book, Dashboard, iCal, and Disk Utility.
