]> gitweb.fluxo.info Git - scripts.git/commitdiff
Check for remind
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 16 Sep 2017 21:28:38 +0000 (18:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 16 Sep 2017 21:28:38 +0000 (18:28 -0300)
status

diff --git a/status b/status
index a2128c7396d66bae6ee4d2f31aca2996aaab9014..f40980fab38f4337d6944435499284ce24eabc16 100755 (executable)
--- a/status
+++ b/status
@@ -71,7 +71,7 @@ function status_run {
     cd
 
     # Check your reminders
-    if [ -e "$HOME/.reminders" ]; then
+    if which remind &> /dev/null && [ -e "$HOME/.reminders" ]; then
       remind ~/.reminders | grep -v '^No reminders.$'
     fi