From 11fa69c8669f5da3c89c1599f5c58e72bbf858b6 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Sun, 24 Mar 2024 22:46:25 +0100 Subject: [PATCH] =?UTF-8?q?qemush=20:=20mani=C3=A8re=20POSIX=20d'initialis?= =?UTF-8?q?er=20une=20variable=20si=20elle=20est=20vide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/qemush | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/qemush b/bin/qemush index 1f568c8..67a6584 100755 --- a/bin/qemush +++ b/bin/qemush @@ -6,7 +6,9 @@ # Environment PATH="${HOME}/launchers:${HOME}/bin:${PATH}" -EDITOR="${EDITOR:-nvim}" +# I don't even know why shellcheck gives me this warning +# shellcheck disable=2209 +[ -z "$EDITOR" ] && EDITOR=vi export QEMUSH_NAME # Aliases