2457f7283b5a

Add spotlight controls.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 27 Apr 2011 11:13:20 -0400
parents 064a49123c88
children 1cf909cf8e5a
branches/tags (none)
files zsh/misc.zsh

Changes

--- a/zsh/misc.zsh	Wed Apr 27 10:09:59 2011 -0400
+++ b/zsh/misc.zsh	Wed Apr 27 11:13:20 2011 -0400
@@ -7,6 +7,9 @@
 alias f='fab'
 alias fd='fab dev'
 
+alias spotlight-off='sudo mdutil -a -i off && sudo mv /System/Library/CoreServices/Search.bundle/ /System/Library/CoreServices/SearchOff.bundle/ && killall SystemUIServer'
+alias spotlight-on='sudo mdutil -a -i on && sudo mv /System/Library/CoreServices/SearchOff.bundle/ /System/Library/CoreServices/Search.bundle/ && killall SystemUIServer'
+
 function mdown () {
     (echo '
         <head>