Skip to content

Conversation

@ilya-lesikov
Copy link

Notifications ran even when no command was executed, e. g. when
cancelling current prompt with ^C or confirming the command (pressing
Enter) when there is an empty string, so nothing gets executed.

Now we check for $1 variable provided by preexec hook to check if
there actually was any command executed to avoid million of annoying popups.

Notifications ran even when no command was executed, e. g. when
cancelling current prompt with ^C or confirming the command (pressing
Enter) when there is an empty string so nothing gets executed.

Now we check for `$1` variable provided by `preexec` hook to check if
there actually was any command executed to avoid million of annoying popups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant