done: fix ignored command
We want to see if `$DONE_EXCLUDE` *matches* the command...
This commit is contained in:
parent
f63a0bb425
commit
c9c00b491a
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue