Skip to content

Instantly share code, notes, and snippets.

@vacekj
Last active December 9, 2022 23:19
Show Gist options
  • Save vacekj/a4f30ea30d48948ce9aca7c313379f7d to your computer and use it in GitHub Desktop.
Save vacekj/a4f30ea30d48948ce9aca7c313379f7d to your computer and use it in GitHub Desktop.
# reset with: defaults delete -g <FEATURE>
# default textedit to simple text
defaults write com.apple.TextEdit RichText -int 0
# always show path bar in finder
defaults write com.apple.finder ShowPathbar -bool true
# dock
# don't show recents
defaults write com.apple.dock "show-recents" -bool "false"
# minimize animation
defaults write com.apple.dock "mineffect" -string "scale"
# restart dock
killall Dock
# finder
# show "Quit" menu item
defaults write com.apple.finder "QuitMenuItem" -bool "true"
# show hidden files
defaults write com.apple.Finder "AppleShowAllFiles" -bool "true"
# do not show warning when changing file extensions
defaults write com.apple.finder "FXEnableExtensionChangeWarning" -bool "false"
# do not use iCloud as default file storage destination
defaults write NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud" -bool "false"
# remove delay when hovering title
defaults write NSGlobalDomain "NSToolbarTitleViewRolloverDelay" -float "0"
# restart finder
killall Finder
# disable "Application Downloaded from Internet" popup
defaults write com.apple.LaunchServices "LSQuarantine" -bool "false"
# expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
# expand print panel by default
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true
# automatically quit printer app once the print jobs complete
defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
# disable automatic capitalization
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false
# disable smart dashes
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
# disable automatic period substitution
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false
# disable smart quotes
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
# disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment