aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/editor.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-18 11:09:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-18 11:09:47 +1200
commit00c3c1f3b1221e5dc2d57b53daef7eb1b0f09858 (patch)
treef9dc59e014ee712aa2fd84b08ce7710493c3e26e /sh/profile.d/editor.sh
parentFix up some command builtin calls (diff)
downloaddotfiles-00c3c1f3b1221e5dc2d57b53daef7eb1b0f09858.tar.gz
dotfiles-00c3c1f3b1221e5dc2d57b53daef7eb1b0f09858.zip
Arrange EDITOR/VISUAL in a more typical way
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