fish/functions/spotlight-on.fish @ 9247b5bc73bb

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