fish/functions/spotlight-off.fish @ e3f758e82529

maor
author Steve Losh <steve@stevelosh.com>
date Wed, 20 May 2015 22:05:20 -0400
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