Compare commits

..

No commits in common. "32f7c3801675c7d3137b9e922bbd2b687cf22e5b" and "f63a0bb4256c46cb796ddcbef8c204a96d8421b4" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ DONE_MIN_CMD_DURATION=15 # Default: 5
Uses `grep -P` (Perl syntax) to filter out commands that should never notify.
```zsh
DONE_EXCLUDE='^\sgit (?!push|pull|fetch)' # Default: ''
DONE_MIN_CMD_DURATION='^\sgit (?!push|pull|fetch)' # Default: ''
```
### Play a sound when sending notification

View file

@ -120,7 +120,7 @@ __done_is_ignored_command() {
return 1
fi
# shellcheck disable=2154
printf '%s' "$__done_last_command" | grep -q -P "$DONE_EXCLUDE"
printf '%s' "$__done_last_command" | grep -q -v -P "$DONE_EXCLUDE"
}
__done_notify() {

View file

@ -69,7 +69,7 @@
zsh-done = pkgs.stdenvNoCC.mkDerivation rec {
pname = "zsh-done";
version = "0.1.1";
version = "0.1.0";
src = ./done.plugin.zsh;