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. #