fish/functions/spotlight-off.fish @ e68c9ecc9e4a

Add mutt/accounts to .hgignore.
author Steve Losh <steve@stevelosh.com>
date Tue, 02 Oct 2018 17:19:13 -0700
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