diff options
Diffstat (limited to 'bash/bash_profile.d/remind.bash')
-rw-r--r-- | bash/bash_profile.d/remind.bash | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bash/bash_profile.d/remind.bash b/bash/bash_profile.d/remind.bash new file mode 100644 index 00000000..50a3d8c8 --- /dev/null +++ b/bash/bash_profile.d/remind.bash @@ -0,0 +1,8 @@ +# If interactive and rem(1) installed, run it +if [[ $- == *i* ]] && hash rem 2>/dev/null ; then ( + printf '\n' + while read -r reminder ; do + printf '* %s\n' "$reminder" + done < <(rem -hq) +) ; fi + |