aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/editor.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-15 01:53:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-15 01:53:03 +1200
commit534752ffa456c0bc968b6336c9aafc3372b98d60 (patch)
treef29f8f56d92e0d914b07bf40100b97f5fe50cacf /sh/profile.d/editor.sh
parentTidier quoting for PATH logic (diff)
downloaddotfiles-534752ffa456c0bc968b6336c9aafc3372b98d60.tar.gz
dotfiles-534752ffa456c0bc968b6336c9aafc3372b98d60.zip
Break editor/pager setup into subfile
Diffstat (limited to 'sh/profile.d/editor.sh')
-rw-r--r--sh/profile.d/editor.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sh/profile.d/editor.sh b/sh/profile.d/editor.sh
new file mode 100644
index 00000000..eaebf3bd
--- /dev/null
+++ b/sh/profile.d/editor.sh
@@ -0,0 +1,5 @@
+# Set editor
+EDITOR='vi'
+VISUAL=$EDITOR
+export EDITOR VISUAL
+