# Increase window resize speed for Cocoa applicationsĭefaults write NSGlobalDomain NSWindowResizeTime -float 0.001ĭefaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool trueĭefaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool trueĭefaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool trueĭefaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true #defaults write NSGlobalDomain NSScrollAnimationEnabled -bool false # (Uncomment if you’re on an older Mac that messes up the animation) # Disable the over-the-top focus ring animationĭefaults write NSGlobalDomain NSUseAnimatedFocusRing -bool false # Possible values: `WhenScrolling`, `Automatic` and `Always` "/System/Library/CoreServices/Menu Extras/nu"ĭefaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600"ĭefaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2ĭefaults write NSGlobalDomain AppleShowScrollBars -string "Always" "/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)
#Cdock mountain lion indicator lights password#
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:
#Cdock mountain lion indicator lights 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.