fish/functions/spotlight-on.fish @ 809dbedf835c

doseq
author Steve Losh <steve@stevelosh.com>
date Fri, 09 Mar 2018 15:04:18 -0500
parents d66bfb2537fe
children (none)
function spotlight-on -d "Turn on Spotlight indexing"
    sudo mdutil -a -i on
    and sudo mv /System/Library/CoreServices/SearchOff.bundle/ /System/Library/CoreServices/Search.bundle/
    and killall SystemUIServer
end