fish/functions/spotlight-off.fish @ a8a82a63b876

More
author Steve Losh <steve@stevelosh.com>
date Mon, 14 Jan 2019 12:30:39 -0500
parents d66bfb2537fe
children (none)
function spotlight-off -d "Turn off Spotlight indexing"
    sudo mdutil -a -i off
    and sudo mv /System/Library/CoreServices/Search.bundle/ /System/Library/CoreServices/SearchOff.bundle/
    and killall SystemUIServer
end