commit aaf9578782fbe12a3d8192c02120aa4dcb63b986
parent 5a4390198edbf14cec87e11f27dd3fe6ebfa50d1
Author: dwrz <dwrz@dwrz.net>
Date: Tue, 10 Jan 2023 14:01:44 +0000
Update reveille script
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/reveille b/scripts/reveille
@@ -8,7 +8,7 @@ readonly ESTIMATED_REMAINING_YEARS=50
readonly ESTIMATED_REMAINING_DAYS="$(( "${ESTIMATED_REMAINING_YEARS}" * 365))"
age() {
- local start, end
+ local start end
start="$(date -d "$1" +%s)"
end="$(date -d "$2" +%s)"
@@ -59,7 +59,7 @@ Remember:
QOTD:
-$("${HOME}/.local/bin/wisdom")
+$(wisdom)
EOF