Emacs client script

This commit is contained in:
John Doty 2017-10-28 07:57:00 -07:00
parent 846c430fe1
commit 6757f62347

3
bin/ec Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
which osascript > /dev/null 2>&1 && osascript -e 'tell application "Emacs" to activate'
/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c "$@"