# see https://github.com/mathiasbynens/dotfiles/blob/master/.osx #sudo tmutil disablelocal # fix font with external monitor # http://apple.stackexchange.com/questions/19468/terminal-text-size-different-when-connected-to-external-monitor defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false defaults write NSGlobalDomain NSWindowResizeTime 0.15 defaults write com.apple.dock expose-animation-duration -float 0.15 defaults write -g ApplePressAndHoldEnabled -bool false defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true defaults write com.apple.Mail DisableReplyAnimations -bool true defaults write com.apple.Mail DisableSendAnimations -bool true defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false chflags nohidden ~/Library #echo "0x08000100:0" > ~/.CFUserTextEncoding for app in Safari Dock Mail Finder; do killall $app; done