aboutsummaryrefslogtreecommitdiff
path: root/mkshrc.d/00-editor.sh
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2015-11-26 15:41:55 +0100
committerDuncaen <mail@duncano.de>2015-11-26 15:41:55 +0100
commit540c947d1fa946708b6372b6efe483a692147ad2 (patch)
treea5df1c524ba713e9b0ae054f609394d7c5be589b /mkshrc.d/00-editor.sh
parent92cd04320c9289639616529164c737b7ee555327 (diff)
downloaddotfiles-540c947d1fa946708b6372b6efe483a692147ad2.tar.gz
update
Diffstat (limited to 'mkshrc.d/00-editor.sh')
-rwxr-xr-xmkshrc.d/00-editor.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkshrc.d/00-editor.sh b/mkshrc.d/00-editor.sh
new file mode 100755
index 0000000..d60a65f
--- /dev/null
+++ b/mkshrc.d/00-editor.sh
@@ -0,0 +1,3 @@
+EDITOR=$(command -v vim)
+VISUAL="$EDITOR"
+export EDITOR VISUAL