Skip to content

Instantly share code, notes, and snippets.

@mischa
Forked from erikh/hack.sh
Created March 31, 2012 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mischa/2268735 to your computer and use it in GitHub Desktop.
Save mischa/2268735 to your computer and use it in GitHub Desktop.
OSX For Hackers
echo "Use current directory as default search scope in Finder"
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
echo "Disable the warning when changing a file extension"
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Empty Trash securely by default
defaults write com.apple.finder EmptyTrashSecurely -bool true
echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)"
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment