How to disable El Capitan cursor shake-to-zoom feature

In OS X El Capitan, when you shake the cursor (rapidly move the cursor back and forth), the OS will replace the cursor with a much larger version until you stop the shaking. This is really useful if you have a hard to see cursor (like a cross hair cursor, for example) or encounter a software bug that temporarily makes the cursor invisible.

Don’t like the feature? Perhaps you are an avid gamer and find it comes up at an inopportune time? No matter, easy enough to make it disappear. In Terminal, enter this command:

defaults write ~/Library/Preferences/.GlobalPreferences CGDisableCursorLocationMagnification -bool YES

To turn it back on, enter this command:

defaults write ~/Library/Preferences/.GlobalPreferences CGDisableCursorLocationMagnification -bool NO

Terminal is in the Applications / Utilities folder.