-
Right click the file and choose information and choose to always open this file with
Terminal.app
-
Go to the
Terminal.app
and do something like thischmod 744 Reset Spotlight.sh
-
There you go, you can now double click it so reset the Spotlight location
-
Optional: Uncomment line for the
useCount
to prevent Spotlight to forget that you already used it
-
-
Save fjcero/7fa42662d4bad18492aed28e6ee43a01 to your computer and use it in GitHub Desktop.
Reset Spotlight Location (Fix for OS X 10.11 El Capitan)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Delete all information saved by Spotlight | |
defaults delete com.apple.Spotlight | |
# Restart Spotlight | |
killall Spotlight | |
# Uncomment to prevent Spotlight to always introduce itself as new | |
# defaults write com.apple.Spotlight useCount 5 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment