@@ -32,7 +32,7 @@ sudo nvram SystemAudioVolume=" "
defaults write com.apple.universalaccess reduceTransparency -bool true
# Set highlight color to green
defaults write NSGlobalDomain AppleHighlightColor -string " 0.764700 0.976500 0.568600"
# defaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600"
# Set sidebar icon size to medium
defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2
@@ -103,7 +103,7 @@ sudo systemsetup -setrestartfreeze on
sudo systemsetup -setcomputersleep Off > /dev/null
# Disable Notification Center and remove the menu bar icon
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null
# launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null
# Disable smart quotes as they’re annoying when typing code
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
@@ -137,10 +137,10 @@ defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
# Trackpad: map bottom right corner to right-click
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
# defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
# defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
# defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
# defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
# Disable “natural” (Lion-style) scrolling
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true
@@ -239,10 +239,10 @@ defaults write com.apple.finder QuitMenuItem -bool true
# Finder: disable window animations and Get Info animations
defaults write com.apple.finder DisableAllAnimations -bool true
# Set Desktop as the default location for new Finder windows
# Set Home as the default location for new Finder windows
# For other paths, use `PfLo` and `file:///full/path/here/`
defaults write com.apple.finder NewWindowTarget -string " PfDe"
defaults write com.apple.finder NewWindowTargetPath -string " file://${HOME} /Desktop/ "
defaults write com.apple.finder NewWindowTargetPath -string " file://${HOME} /"
# Show icons for hard drives, servers, and removable media on the desktop
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
@@ -265,8 +265,8 @@ defaults write com.apple.finder ShowPathbar -bool true
# Display full POSIX path as Finder window title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
# Keep folders on top when sorting by name
defaults write com.apple.finder _FXSortFoldersFirst -bool true
# Don’t keep folders on top when sorting by name
defaults write com.apple.finder _FXSortFoldersFirst -bool false
# When performing a search, search the current folder by default
defaults write com.apple.finder FXDefaultSearchScope -string " SCcf"
@@ -298,8 +298,8 @@ defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
/usr/libexec/PlistBuddy -c " Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~ /Library/Preferences/com.apple.finder.plist
/usr/libexec/PlistBuddy -c " Set :StandardViewSettings:IconViewSettings:showItemInfo true" ~ /Library/Preferences/com.apple.finder.plist
# Show item info to the right of the icons on the desktop
/usr/libexec/PlistBuddy -c " Set DesktopViewSettings:IconViewSettings:labelOnBottom false " ~ /Library/Preferences/com.apple.finder.plist
# Show item info to the bottom of the icons on the desktop
/usr/libexec/PlistBuddy -c " Set DesktopViewSettings:IconViewSettings:labelOnBottom true " ~ /Library/Preferences/com.apple.finder.plist
# Enable snap-to-grid for icons on the desktop and in other icon views
/usr/libexec/PlistBuddy -c " Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~ /Library/Preferences/com.apple.finder.plist
@@ -330,8 +330,8 @@ chflags nohidden ~/Library
sudo chflags nohidden /Volumes
# Remove Dropbox’s green checkmark icons in Finder
file=/Applications/Dropbox.app/Contents/Resources/emblem-dropbox-uptodate.icns
[ -e " ${file} " ] && mv -f " ${file} " " ${file} .bak"
# file=/Applications/Dropbox.app/Contents/Resources/emblem-dropbox-uptodate.icns
# [ -e "${file}" ] && mv -f "${file}" "${file}.bak"
# Expand the following File Info panes:
# “General”, “Open with”, and “Sharing & Permissions”
@@ -347,8 +347,8 @@ defaults write com.apple.finder FXInfoPanesExpanded -dict \
# Enable highlight hover effect for the grid view of a stack (Dock)
defaults write com.apple.dock mouse-over-hilite-stack -bool true
# Set the icon size of Dock items to 36 pixels
defaults write com.apple.dock tilesize -int 36
# Set the icon size of Dock items to 56 pixels
defaults write com.apple.dock tilesize -int 56
# Change minimize/maximize window effect
defaults write com.apple.dock mineffect -string " scale"
@@ -376,9 +376,9 @@ defaults write com.apple.dock launchanim -bool false
# Speed up Mission Control animations
defaults write com.apple.dock expose-animation-duration -float 0.1
# Don’t group windows by application in Mission Control
# Group windows by application in Mission Control
# (i.e. use the old Exposé behavior instead)
defaults write com.apple.dock expose-group-by-app -bool false
defaults write com.apple.dock expose-group-by-app -bool true
# Disable Dashboard
defaults write com.apple.dashboard mcx-disabled -bool true
@@ -394,8 +394,8 @@ defaults write com.apple.dock autohide-delay -float 0
# Remove the animation when hiding/showing the Dock
defaults write com.apple.dock autohide-time-modifier -float 0
# Automatically hide and show the Dock
defaults write com.apple.dock autohide -bool true
# Don’t automatically hide and show the Dock
defaults write com.apple.dock autohide -bool false
# Make Dock icons of hidden applications translucent
defaults write com.apple.dock showhidden -bool true
@@ -662,7 +662,7 @@ defaults write com.apple.Terminal ShowLineMarks -int 0
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
# Disable local Time Machine backups
hash tmutil & > /dev/null && sudo tmutil disablelocal
# hash tmutil &> /dev/null && sudo tmutil disablelocal
# ##############################################################################
# Activity Monitor #
@@ -723,8 +723,8 @@ defaults write com.apple.SoftwareUpdate CriticalUpdateInstall -int 1
# Automatically download apps purchased on other Macs
defaults write com.apple.SoftwareUpdate ConfigDataInstall -int 1
# Turn on app auto-update
defaults write com.apple.commerce AutoUpdate -bool true
# Turn off app auto-update
defaults write com.apple.commerce AutoUpdate -bool false
# Allow the App Store to reboot machine on macOS updates
defaults write com.apple.commerce AutoUpdateRestartRequired -bool true
@@ -741,13 +741,13 @@ defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true
# ##############################################################################
# Disable automatic emoji substitution (i.e. use plain text smileys)
defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add " automaticEmojiSubstitutionEnablediMessage" -bool false
# defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "automaticEmojiSubstitutionEnablediMessage" -bool true
# Disable smart quotes as it’s annoying for messages that contain code
defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add " automaticQuoteSubstitutionEnabled" -bool false
# defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "automaticQuoteSubstitutionEnabled" -bool false
# Disable continuous spell checking
defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add " continuousSpellCheckingEnabled" -bool false
# defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "continuousSpellCheckingEnabled" -bool false
# ##############################################################################
# Google Chrome
@@ -760,7 +760,7 @@ defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false
defaults write com.google.Chrome AppleEnableMouseSwipeNavigateWithScrolls -bool false
# Use the system-native print preview dialog
defaults write com.google.Chrome DisablePrintPreview -bool true
# defaults write com.google.Chrome DisablePrintPreview -bool true
# Expand the print dialog by default
defaults write com.google.Chrome PMPrintingExpandedStateForPrint2 -bool true