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 aeff23f commit 95fb5feCopy full SHA for 95fb5fe
shell_integration/bash
@@ -564,6 +564,7 @@ function __iterm2_prompt_command () {
564
then
565
# This code path is taken when you press ^C while entering a command.
566
# I observed this behavior in CentOS 7.2 and macOS "GNU bash, version 5.0.18(1)-release".
567
+ ( exit $__iterm2_last_ret_value )
568
__iterm2_preexec ""
569
__bp_set_ret_value "$__iterm2_last_ret_value" "$__bp_last_argument_prev_command"
570
fi
0 commit comments