fish/functions/spotlight-on.fish @ 3d37ca22c5c5
bpollack/use-command-to-explicitly-call-ag-and-us-1442506830050
Use command to explicitly call ag, and use compound if block
author |
Benjamin Pollack <benjamin@bitquabit.com> |
date |
Thu, 17 Sep 2015 16:20:42 +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