]> git.donarmstrong.com Git - zsh.git/commitdiff
set editor variables
authormartin f. krafft <madduck@madduck.net>
Sun, 11 May 2008 15:04:19 +0000 (16:04 +0100)
committermartin f. krafft <madduck@madduck.net>
Sun, 11 May 2008 15:04:19 +0000 (16:04 +0100)
.zsh/zshenv/40_editor [new file with mode: 0644]

diff --git a/.zsh/zshenv/40_editor b/.zsh/zshenv/40_editor
new file mode 100644 (file)
index 0000000..0de8d84
--- /dev/null
@@ -0,0 +1,14 @@
+# zshenv/40_editor
+#
+# set the editor variables
+#
+# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: http://git.madduck.net/v/etc/zsh.git
+#
+
+export EDITOR==vim
+export VISUAL=$EDITOR
+
+# vim:ft=zsh