diff --git a/bin/ec b/bin/ec new file mode 100755 index 0000000..967f394 --- /dev/null +++ b/bin/ec @@ -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 "$@"