summaryrefslogtreecommitdiff
path: root/common/bin/e
diff options
context:
space:
mode:
Diffstat (limited to 'common/bin/e')
-rwxr-xr-xcommon/bin/e7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/bin/e b/common/bin/e
new file mode 100755
index 0000000..131ae14
--- /dev/null
+++ b/common/bin/e
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if emacs-available; then
+ emacsclient $* >/dev/null
+else
+ vim $*
+fi