fish/functions/spotlight-on.fish @ 735d4fc86bc8

Unfuck the lisp shell script wrapper hairball
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Apr 2016 22:14:09 +0000
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