]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/icalbuddy/icalbuddy.zshrc
icalbuddy, remind: Don't run for "axzshctl check-plugins"
[ax-zsh.git] / plugins / icalbuddy / icalbuddy.zshrc
index dcc70c61f26a7b12f61ceed5d54b2324d53dee6b..72cfdf7f8b912eb5197ab526c69f08108b2070d7 100644 (file)
@@ -4,6 +4,9 @@
 # Make sure that "icalBuddy(1)" is installed.
 (( $+commands[icalBuddy] )) || return 1
 
+# Don't run this plugin on "check-plugins"!
+[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 0
+
 # Check if reminders have been shown during last 60 minutes, and if so,
 # don't show them now but return.
 [[ -z `find ~/.last_reminder -mmin -60 2>/dev/null` ]] || return 0