fish/functions/spotlight-off.fish @ d077c6911044

more shit
author Steve Losh <steve@stevelosh.com>
date Thu, 14 May 2015 11:06:21 -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