We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8913ea5 commit 99d05b9Copy full SHA for 99d05b9
test/bash-preexec.bats
@@ -74,6 +74,8 @@ set_exit_code_and_run_precmd() {
74
@test "__bp_install should remove trap logic and itself from PROMPT_COMMAND" {
75
__bp_install_after_session_init
76
77
+ # Assert that before running, the command contains the install string, and
78
+ # afterwards it does not
79
[[ "$PROMPT_COMMAND" == *"$__bp_install_string"* ]] || return 1
80
81
eval_PROMPT_COMMAND
0 commit comments