From 46bae9c02abd0d9c608aae5e295dd2f85e295d55 Mon Sep 17 00:00:00 2001 From: Michael Aquilina Date: Mon, 15 Jul 2019 11:50:44 +0100 Subject: [PATCH] Export configurable variables and add watch to ignore list --- auto-notify.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-notify.plugin.zsh b/auto-notify.plugin.zsh index e3fa043..7dc51a3 100644 --- a/auto-notify.plugin.zsh +++ b/auto-notify.plugin.zsh @@ -7,9 +7,9 @@ AUTO_COMMAND_FULL="" # Command start time in seconds since epoch AUTO_COMMAND_START=0 # Threshold for when to automatically show a notification -AUTO_NOTIFY_THRESHOLD=5 +export AUTO_NOTIFY_THRESHOLD=5 # List of commands/programs to ignore sending notifications for -AUTO_NOTIFY_IGNORE=("vim" "nvim" "emacs" "less" "more" "man" "tig") +export AUTO_NOTIFY_IGNORE=("vim" "nvim" "emacs" "less" "more" "man" "tig" "watch") autoload -Uz add-zsh-hook