From c4ac8baad2da49127a8f8fb7e7c48d50199557a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=C3=ADn=20Skala?= Date: Wed, 26 Oct 2022 20:16:06 +0200 Subject: [PATCH] Mycroft-config: fix nano --- bin/mycroft-config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mycroft-config b/bin/mycroft-config index d2743c2317bf..04de79bf0f7f 100755 --- a/bin/mycroft-config +++ b/bin/mycroft-config @@ -52,7 +52,8 @@ if [ -z "$EDITOR" ] ; then if which sensible-editor > /dev/null ; then EDITOR="sensible-editor" else - EDITOR="nano --syntax=json --tempfile" + # -t mean --saveonexit (--tempfile in pre 5.0 version) + EDITOR="nano --syntax=json -t" fi fi