Ignore bash prompt when comparing history command.
Ignore bash prompt when comparing history command.

The `sent_cmd` includes the bash prompt on the captured line (or at
least could depending on timing) so compare with `endswith()` to ignore
any prefix containing the prompt string.

tony/tmuxp