summaryrefslogtreecommitdiff
path: root/.local/bin/ec
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/ec')
-rwxr-xr-x.local/bin/ec4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/ec b/.local/bin/ec
index 0e748af..5190e05 100755
--- a/.local/bin/ec
+++ b/.local/bin/ec
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/local/bin/andy
-[ -t 2 ] && mode=t || mode=c
+test -t 2 && set mode t || set mode c
exec emacsclient -s ec -$mode