summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-15 11:17:16 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-15 11:17:16 +0100
commit039b300bb6a49f18268a4294a114eeac30cd4bbe (patch)
tree241c424a596a4da396e4891fe0c5017240d8f18b
parenta8b86caa5de2963ebe7996bcbc6a63bdfe43ff2f (diff)
qotd: Clobber quote of the day file
-rwxr-xr-x.local/bin/qotd2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/qotd b/.local/bin/qotd
index 056af85..e7e93e3 100755
--- a/.local/bin/qotd
+++ b/.local/bin/qotd
@@ -22,4 +22,4 @@ if older_than_today $QUOTES {
older_than_today $QOTD
&& yq -0 '.mangoes.[].quote.content' <$QUOTES
| shuf -zn1
-| tr '\0' '\n' >$QOTD
+| tr '\0' '\n' >!$QOTD