From 4d24e45deaf2ac83c4f2847042ea38abf7939099 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 14 Feb 2024 20:33:25 +0100 Subject: qotd: Ensure WGETRC is set --- .local/bin/qotd | 2 ++ 1 file changed, 2 insertions(+) (limited to '.local/bin/qotd') diff --git a/.local/bin/qotd b/.local/bin/qotd index 5c7d72d..056af85 100755 --- a/.local/bin/qotd +++ b/.local/bin/qotd @@ -9,6 +9,8 @@ func older_than_today file { test $mod != `date +%F } +set -e WGETRC $(XDG_CONFIG_HOME:$HOME/.config)/wgetrc + set QUOTES $(XDG_DATA_HOME:$HOME/.local/share)/romir/quotes.yml set QOTD $(XDG_CACHE_HOME:$HOME/.cache)/qotd -- cgit v1.2.3