fish/functions/spotlight-off.fish @ 54633d8bf6d8

Minor lisp tweaks
author Steve Losh <steve@stevelosh.com>
date Thu, 30 Jun 2016 13:06:28 +0000
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