aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile.d/remind.bash
blob: 3f9908a0796a5e2a89953bac1b453b19718479f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# If interactive, ~/.reminders, and rem(1), run it
if [[ $- == *i* ]] && \
   [[ -e $HOME/.reminders ]] && \
   hash rem 2>/dev/null ; then (
    while read -r reminder ; do
        printf '* %s\n' "$reminder"
    done < <(rem -hq)
    printf '\n'
) ; fi