Skip to content

Instantly share code, notes, and snippets.

@pjdietz
Last active October 5, 2016 09:29
Show Gist options
  • Save pjdietz/6638646 to your computer and use it in GitHub Desktop.
Save pjdietz/6638646 to your computer and use it in GitHub Desktop.
Remove Developer section from Spotlight

Source

  • Open Terminal. You will need to convert the file to XML (from binary) so you can edit it in TextEdit. The command you need is plutil -convert xml1 ~/Library/Preferences/com.apple.spotlight.plist
  • Edit this file in a text editor. Just before at the bottom, add the following:
<dict>
    <key>enabled</key>
    <false/>
    <key>name</key>
    <string>SOURCE</string>
</dict>
  • Convert the file back to binary using plutil -convert binary1 ~/Library/Preferences/com.apple.spotlight.plist
  • Log out and back in again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment