about summary refs log tree commit diff
path: root/xnew
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-06-07 20:22:01 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-06-07 20:22:01 +0200
commit7da96bfee99b0d64b0a291054bd716e57f168180 (patch)
tree9e6700925f2040dc8de34f379be054eb7cdbcf8d /xnew
parent2f919ef148e6018a2e36ccc0fe0bc1d0fdc6899c (diff)
downloadxtools-7da96bfee99b0d64b0a291054bd716e57f168180.tar.gz
xtools-7da96bfee99b0d64b0a291054bd716e57f168180.tar.xz
xtools-7da96bfee99b0d64b0a291054bd716e57f168180.zip
xnew: use $VISUAL as well as $EDITOR
Closes #212.
Diffstat (limited to 'xnew')
-rwxr-xr-xxnew2
1 files changed, 1 insertions, 1 deletions
diff --git a/xnew b/xnew
index 8473d48..428725e 100755
--- a/xnew
+++ b/xnew
@@ -94,4 +94,4 @@ EOF
 	echo "}" >>$srcdir/$PKG/template
 done
 
-exec ${EDITOR:-vi} +3 $srcdir/$PKG/template
+exec ${VISUAL:-${EDITOR:-vi}} +3 $srcdir/$PKG/template