Created
September 8, 2012 15:48
-
-
Save glyphobet/3676260 to your computer and use it in GitHub Desktop.
Fixes for Chrome and Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use Mac OS X's print dialog instead of Chrome's idiotic print dialog | |
defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Print Using System Dialog...' '@p' 'Print...' '~@p' | |
# Prevent Chrome from automatically deciding you want search results in German instead of English | |
find ~/Library/Application\ Support/Google/Chrome -name Preferences -print0 | xargs -0 perl -pi.bak -e 's{_google_url": "http://www.google.de/",}{_google_url": "http://www.google.com/",}g;' | |
# Add Quit menu item to Finder | |
defaults write com.apple.finder QuitMenuItem -bool yes | |
# Change Preview to default to "Single Page" view | |
defaults write com.apple.Preview PVPDFDisplayMode -int 2 | |
# Set the icon size of Dock items to 40 pixels | |
defaults write com.apple.dock tilesize -int 40 | |
# Save to disk (not to iCloud) by default | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
# Load git autocompletion from MacPorts package | |
source /opt/local/share/doc/git-core/contrib/completion/git-completion.bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment