From 93e8a4a8920360c730f80f6dfe4353e626bf3502 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 21 Apr 2021 15:10:28 +0200 Subject: mcom: also read $VISUAL to find the editor Closes #206. --- mcom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcom') diff --git a/mcom b/mcom index c378b33..057a998 100755 --- a/mcom +++ b/mcom @@ -493,7 +493,7 @@ while :; do ;; e|edit) c= - if ! ${EDITOR:-vi} "$draft"; then + if ! ${VISUAL:-${EDITOR:-vi}} "$draft"; then c=d else if checksensible "$draft"; then -- cgit 1.4.1