]> gitweb.fluxo.info Git - scripts.git/commitdiff
Adds reminders
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 6 Jun 2017 20:34:57 +0000 (17:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 6 Jun 2017 20:34:57 +0000 (17:34 -0300)
reminders [new file with mode: 0755]

diff --git a/reminders b/reminders
new file mode 100755 (executable)
index 0000000..ca9e6d3
--- /dev/null
+++ b/reminders
@@ -0,0 +1,8 @@
+#!/bin/bash
+#
+# Print a short summary of today's reminders.
+
+if [ -e "$HOME/.reminders" ]; then
+  cd 
+  remind $HOME/.reminders | grep -v '^No reminders.$' | sed -e '/^$/d'
+fi