Skip to content

Instantly share code, notes, and snippets.

@solarsailer
Last active December 16, 2015 01:59
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solarsailer/5358957 to your computer and use it in GitHub Desktop.
Save solarsailer/5358957 to your computer and use it in GitHub Desktop.
OSX Helpers
# Set the save dialog to be in extended mode by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Set the iCloud-using apps to not save to iCloud by default
# Courtesy of @room34, http://blog.room34.com/archives/5098
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
# Open a new document in TextEdit (& other iCloud-backed app) directly
# instead of presenting the document picker.
defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
# Not necessary anymore with Mavericks
# Quick way to rebuild the Launch Services database and get rid of duplicates in the Open With submenu
# Courtesy of @drdrang, http://www.leancrew.com/all-this/2013/02/getting-rid-of-open-with-duplicates/
alias fixopenwith='/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment