aboutsummaryrefslogtreecommitdiff
path: root/reminders
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-20 20:42:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-20 20:42:35 -0300
commit3c5c672e47737e6b3342dfeb730ccd8320f2d442 (patch)
treed08d27539f244e640cf1e92ed0f259929fdf5d32 /reminders
downloadutils-organization-3c5c672e47737e6b3342dfeb730ccd8320f2d442.tar.gz
utils-organization-3c5c672e47737e6b3342dfeb730ccd8320f2d442.tar.bz2
Initial import
Diffstat (limited to 'reminders')
-rwxr-xr-xreminders9
1 files changed, 9 insertions, 0 deletions
diff --git a/reminders b/reminders
new file mode 100755
index 0000000..c40936b
--- /dev/null
+++ b/reminders
@@ -0,0 +1,9 @@
+#!/bin/bash
+#
+# Print a short summary of today's reminders.
+
+# Dispatch only if $HOME/.reminders exists
+if [ -e "$HOME/.reminders" ]; then
+ cd
+ remind $HOME/.reminders $* | grep -v '^No reminders.$' | sed -e '/^$/d'
+fi