aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHassan Khan <hassankhan@users.noreply.github.com>2015-10-29 10:50:21 +0000
committerMathias Bynens <mathias@qiwi.be>2015-10-29 14:52:40 +0100
commitcd88be0faec8b794e2ed6d145896f464125429b4 (patch)
tree2f051651b69c02b6a505eac4c80578cb58d8363e
parentc0098b62c312e98dea29489a3d54f9f8597d72d6 (diff)
downloaddotfiles-cd88be0faec8b794e2ed6d145896f464125429b4.tar.gz
dotfiles-cd88be0faec8b794e2ed6d145896f464125429b4.tar.bz2
dotfiles-cd88be0faec8b794e2ed6d145896f464125429b4.zip
.osx: Stop iTunes from automatically syncing connected devices
Closes #593.
-rwxr-xr-x.osx13
1 files changed, 10 insertions, 3 deletions
diff --git a/.osx b/.osx
index 9aee281..56dd369 100755
--- a/.osx
+++ b/.osx
@@ -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."