--- /dev/null
+# zlogin/90_db
+#
+# print today's reminder items
+#
+# Copyright © 1994–2013 martin f. krafft <madduck@madduck.net>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.madduck.net/etc/zsh.git
+#
+
+cnt=0
+db -md1 | while read line; do
+ [ -n "$line" ] || continue
+ if [ $cnt -eq 0 ]; then
+ cnt=$((cnt+1))
+ echo "*** $line"
+ else
+ echo "$line"
+ fi
+done
+[ $cnt -gt 0 ] && echo
+
+# vim:ft=zsh