Skip to content

Instantly share code, notes, and snippets.

@galaakk
Created September 22, 2012 22:53
Show Gist options
  • Select an option

  • Save galaakk/3768131 to your computer and use it in GitHub Desktop.

Select an option

Save galaakk/3768131 to your computer and use it in GitHub Desktop.
SHELL : my favorite OSX defaults
echo "Remove Dropbox’s green checkmark icons in Finder"
file=/Applications/Dropbox.app/Contents/Resources/check.icns
[ -e "$file" ] && mv -f "$file" "$file.bak"
unset file
# echo "Reset Launchpad"
# [ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db
echo "Show the ~/Library folder"
chflags nohidden ~/Library
echo "Only use UTF-8 in Terminal.app"
defaults write com.apple.terminal StringEncodings -array 4
#echo "Disable the warning when changing a file extension"
#defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
echo "Disable auto-correct"
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
echo "Disable the “Are you sure you want to open this application?” dialog"
defaults write com.apple.LaunchServices LSQuarantine -bool false
#echo "Enable the 2D Dock"
#defaults write com.apple.dock no-glass -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