summaryrefslogtreecommitdiff
path: root/.local/bin/ec
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-06 01:30:57 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-06 01:30:57 +0100
commit02e4686ccd7c95c6df855be61496c75c92b11396 (patch)
tree10ef22afb440b6f91e695d25677f130a5a79f75f /.local/bin/ec
parentd9f33332f52a60130325a5d16785ee9577647d42 (diff)
scripts: Move many scripts from sh to andy
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