From 6757f62347fc14e7dcb7f6ade71bd02c9b2938fc Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 28 Oct 2017 07:57:00 -0700 Subject: [PATCH] Emacs client script --- bin/ec | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/ec 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 "$@"