diff --git a/os/macos/mail.pref.fish b/os/macos/mail.pref.fish old mode 100644 new mode 100755 diff --git a/os/macos/spotlight.pref.fish b/os/macos/spotlight.pref.fish index a46363c..37151d9 100755 --- a/os/macos/spotlight.pref.fish +++ b/os/macos/spotlight.pref.fish @@ -33,8 +33,6 @@ execute "defaults write com.apple.spotlight orderedItems -array \ killall mds &>/dev/null -# Make sure indexing is enabled for the main volume. -sudo mdutil -i on / >/dev/null +execute "sudo mdutil -i on / >/dev/null" "Enable indexing for the main volume" -# Rebuild index from scratch. -sudo mdutil -E / >/dev/null +execute "sudo mdutil -E / >/dev/null" "Rebuild index"