aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile.d/remind.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_profile.d/remind.bash')
-rw-r--r--bash/bash_profile.d/remind.bash22
1 files changed, 0 insertions, 22 deletions
diff --git a/bash/bash_profile.d/remind.bash b/bash/bash_profile.d/remind.bash
deleted file mode 100644
index a8f14599..00000000
--- a/bash/bash_profile.d/remind.bash
+++ /dev/null
@@ -1,22 +0,0 @@
-# Only if shell is interactive
-if [[ $- != *i* ]] ; then
- return
-fi
-
-# Only if rem(1) available
-if ! hash rem 2>/dev/null ; then
- return
-fi
-
-# Only if reminders file exists
-if [[ ! -e ${DOTREMINDERS:-$HOME/.reminders} ]] ; then
- return
-fi
-
-# Print from subshell to keep namespace clean
-(
- while IFS= read -r reminder ; do
- printf '* %s\n' "$reminder"
- done < <(rem -hq)
- printf '\n'
-)