aboutsummaryrefslogtreecommitdiff
path: root/reminders
diff options
context:
space:
mode:
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