summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/ec11
1 files changed, 8 insertions, 3 deletions
diff --git a/.local/bin/ec b/.local/bin/ec
index 5190e05..ac6c1d6 100755
--- a/.local/bin/ec
+++ b/.local/bin/ec
@@ -1,4 +1,9 @@
-#!/usr/local/bin/andy
+#!/bin/sh
-test -t 2 && set mode t || set mode c
-exec emacsclient -s ec -$mode
+if test -t 2
+then
+ FLAGS=-t
+else
+ FLAGS=-cnqu
+fi
+exec emacsclient -s ec $FLAGS