diff options
author | Hassan Khan <hassankhan@users.noreply.github.com> | 2015-10-29 10:50:21 +0000 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2015-10-29 14:52:40 +0100 |
commit | cd88be0faec8b794e2ed6d145896f464125429b4 (patch) | |
tree | 2f051651b69c02b6a505eac4c80578cb58d8363e | |
parent | c0098b62c312e98dea29489a3d54f9f8597d72d6 (diff) | |
download | dotfiles-cd88be0faec8b794e2ed6d145896f464125429b4.tar.gz dotfiles-cd88be0faec8b794e2ed6d145896f464125429b4.tar.bz2 dotfiles-cd88be0faec8b794e2ed6d145896f464125429b4.zip |
.osx: Stop iTunes from automatically syncing connected devices
Closes #593.
-rwxr-xr-x | .osx | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -481,6 +481,13 @@ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebK defaults write NSGlobalDomain WebKitDeveloperExtras -bool true ############################################################################### +# iTunes # +############################################################################### + +# Disable automatic device syncing +defaults write com.apple.iTunes dontAutomaticallySyncIPods -bool true + +############################################################################### # Mail # ############################################################################### @@ -824,9 +831,9 @@ defaults write com.divisiblebyzero.Spectacle UndoLastMove -data 62706c6973743030 ############################################################################### for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \ - "Dock" "Finder" "Google Chrome" "Google Chrome Canary" "Mail" "Messages" \ - "Opera" "Safari" "SizeUp" "Spectacle" "SystemUIServer" "Terminal" \ - "Transmission" "Twitter" "iCal"; do + "Dock" "Finder" "Google Chrome" "Google Chrome Canary" "iTunes" "Mail" \ + "Messages" "Opera" "Safari" "SizeUp" "Spectacle" "SystemUIServer" \ + "Terminal" "Transmission" "Twitter" "iCal"; do killall "${app}" &> /dev/null done echo "Done. Note that some of these changes require a logout/restart to take effect." |