Skip to content

Commit

Permalink
.osx: Stop iTunes from automatically syncing connected devices
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan authored and mathiasbynens committed Oct 29, 2015
1 parent c0098b6 commit cd88be0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .osx
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,13 @@ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebK
# Add a context menu item for showing the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

###############################################################################
# iTunes #
###############################################################################

# Disable automatic device syncing
defaults write com.apple.iTunes dontAutomaticallySyncIPods -bool true

###############################################################################
# Mail #
###############################################################################
Expand Down Expand Up @@ -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."

0 comments on commit cd88be0

Please sign in to comment.