Created
July 13, 2014 21:32
-
-
Save shka/d1385024063e4dc4f2f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.