Skip to content

Instantly share code, notes, and snippets.

@shka
Created July 13, 2014 21:32
Show Gist options
  • Save shka/d1385024063e4dc4f2f9 to your computer and use it in GitHub Desktop.
Save shka/d1385024063e4dc4f2f9 to your computer and use it in GitHub Desktop.
echo osascript -e \'tell application \"Emacs\" to activate\'\; emacsclient -c \"\$@\" | platypus -o None -i /usr/local/Cellar/emacs/24.3/Emacs.app/Contents/Resources/Emacs.icns -B -R - /Applications/EmacsClient.app
@shka
Copy link
Author

shka commented Jul 13, 2014

See also platypus_emacs.sh - this script creates an app visible from Spotlight which calls emacsclient in your Cellar. You should associate file types to the emacsclient app with emacs server process configuration, rather than emacs. Please install platypus via homebrew.

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