fish/functions/spotlight-off.fish @ a1d399ef7d54

Updates for Linux
author Steve Losh <steve@stevelosh.com>
date Mon, 25 Jun 2018 16:56:02 -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