From 62008a66ffa78cfd472f960d5b0ff1407e0267c1 Mon Sep 17 00:00:00 2001 From: Jonas Kattendick Date: Thu, 16 Nov 2023 20:02:31 +0100 Subject: [PATCH] fix: AGENDA_EDITOR is ignored Fixes #1 --- agenda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenda b/agenda index f750baf..1212ada 100644 --- a/agenda +++ b/agenda @@ -2,7 +2,7 @@ set -euo pipefail # The editor used to edit agenda note files. -AGENDA_EDITOR=${VISUAL:-${EDITOR:-vi}} +AGENDA_EDITOR=${AGENDA_EDITOR:-${VISUAL:-${EDITOR:-vi}}} # The home of all files read and written by agenda. #