aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/remind.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d/remind.sh')
-rw-r--r--sh/profile.d/remind.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/sh/profile.d/remind.sh b/sh/profile.d/remind.sh
deleted file mode 100644
index 3ef0f353..00000000
--- a/sh/profile.d/remind.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-# Only if shell is interactive
-case $- in
- *i*) ;;
- *) return ;;
-esac
-
-# Only if not in a tmux window
-[ -z "$TMUX" ] || return
-
-# Only if ~/.welcome/remind exists and ~/.hushlogin doesn't
-[ -e "$HOME"/.welcome/remind ] || return
-! [ -e "$HOME"/.hushlogin ] || return
-
-# Only if rem(1) available
-command -v rem >/dev/null 2>&1 || return
-
-# Print reminders with asterisks
-rem -hq | sed 's/^/* /'
-printf '\n'