aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/editor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d/editor.sh')
-rw-r--r--sh/profile.d/editor.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/sh/profile.d/editor.sh b/sh/profile.d/editor.sh
index 7ed9e262..ee0da70b 100644
--- a/sh/profile.d/editor.sh
+++ b/sh/profile.d/editor.sh
@@ -1,4 +1,3 @@
-# Set editor
-EDITOR=vi
-VISUAL=$EDITOR
-export EDITOR VISUAL
+# Set command-line editor
+EDITOR=ed
+export EDITOR