From c9c00b491a79d4de2c2166cafade6b3a30249d58 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 15 Feb 2024 16:29:11 +0000 Subject: [PATCH] done: fix ignored command We want to see if `$DONE_EXCLUDE` *matches* the command... --- done.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/done.plugin.zsh b/done.plugin.zsh index 81db073..5cd643d 100644 --- a/done.plugin.zsh +++ b/done.plugin.zsh @@ -120,7 +120,7 @@ __done_is_ignored_command() { return 1 fi # shellcheck disable=2154 - printf '%s' "$__done_last_command" | grep -q -v -P "$DONE_EXCLUDE" + printf '%s' "$__done_last_command" | grep -q -P "$DONE_EXCLUDE" } __done_notify() {