aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/e3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/e b/bin/e
index b163eda..dc7b47d 100755
--- a/bin/e
+++ b/bin/e
@@ -65,6 +65,9 @@ shift $((OPTIND - 1))
CMD="${VISUAL:-${EDITOR:-vi}}"
+if [ "$CMD" = 'e' ]; then
+ CMD='vi'
+fi
if [ ! -t 0 ]; then
F="$(mkstemp)"