Skip to content

Instantly share code, notes, and snippets.

@shka
Created July 13, 2014 20:10
Show Gist options
  • Save shka/62e1d321aa0c0d7f4ce8 to your computer and use it in GitHub Desktop.
Save shka/62e1d321aa0c0d7f4ce8 to your computer and use it in GitHub Desktop.
echo '/usr/local/Cellar/emacs/24.3/Emacs.app/Contents/MacOS/Emacs &' | platypus -o None -i /usr/local/Cellar/emacs/24.3/Emacs.app/Contents/Resources/Emacs.icns -B -R - /Applications/Emacs.app
@shka
Copy link
Author

shka commented Jul 13, 2014

Although brew linkapps symlinks apps to /Applications, these symlinked apps do not appear in Spotlight (cf. issues #22379, #8699, #4635 etc.) This is an alternative solution for users of homebrew, emacs and Spotlight - this script creates an app visible from Spotlight which calls emacs in your Cellar. Please install platypus via homebrew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment