aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.osx17
1 files changed, 15 insertions, 2 deletions
diff --git a/.osx b/.osx
index 8bd70f8..c66b706 100755
--- a/.osx
+++ b/.osx
@@ -518,7 +518,14 @@ defaults write com.apple.mail SpellCheckingBehavior -string "NoSpellCheckingEnab
# been indexed before.
# Use `sudo mdutil -i off "/Volumes/foo"` to stop indexing any volume.
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
-# Change indexing order and disable some file types
+# Change indexing order and disable some search results
+# Yosemite-specific search results (remove them if your are using OS X 10.9 or older):
+# MENU_DEFINITION
+# MENU_CONVERSION
+# MENU_EXPRESSION
+# MENU_SPOTLIGHT_SUGGESTIONS (send search queries to Apple)
+# MENU_WEBSEARCH (send search queries to Apple)
+# MENU_OTHER
defaults write com.apple.spotlight orderedItems -array \
'{"enabled" = 1;"name" = "APPLICATIONS";}' \
'{"enabled" = 1;"name" = "SYSTEM_PREFS";}' \
@@ -535,7 +542,13 @@ defaults write com.apple.spotlight orderedItems -array \
'{"enabled" = 0;"name" = "MOVIES";}' \
'{"enabled" = 0;"name" = "PRESENTATIONS";}' \
'{"enabled" = 0;"name" = "SPREADSHEETS";}' \
- '{"enabled" = 0;"name" = "SOURCE";}'
+ '{"enabled" = 0;"name" = "SOURCE";}' \
+ '{"enabled" = 0;"name" = "MENU_DEFINITION";}' \
+ '{"enabled" = 0;"name" = "MENU_OTHER";}' \
+ '{"enabled" = 0;"name" = "MENU_CONVERSION";}' \
+ '{"enabled" = 0;"name" = "MENU_EXPRESSION";}' \
+ '{"enabled" = 0;"name" = "MENU_WEBSEARCH";}' \
+ '{"enabled" = 0;"name" = "MENU_SPOTLIGHT_SUGGESTIONS";}'
# Load new settings before rebuilding the index
killall mds > /dev/null 2>&1
# Make sure indexing is enabled for the main volume