From 67531b88fb236c4822f32519d30e5e4f95972d58 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 18 Aug 2020 21:57:14 +0200 Subject: [PATCH] Use sensible-editor by default It is the reasonable default for Debian. Forwarded: not-needed Gbp-Pq: Topic debian Gbp-Pq: Name Use-sensible-editor-by-default.patch --- tools/vsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vsh.c b/tools/vsh.c index 0066504ebe..e84ea77b9a 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -2434,7 +2434,7 @@ vshEditWriteToTempFile(vshControl *ctl, const char *doc) /* Hard-code default editor used as a fallback if not configured by * VISUAL or EDITOR environment variables. */ -#define DEFAULT_EDITOR "vi" +#define DEFAULT_EDITOR "sensible-editor" int vshEditFile(vshControl *ctl, const char *filename)