fish/functions/spotlight-on.fish @ 26bc9c0ab0cc

linux
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Jun 2018 09:12:37 -0700
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