mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
Passthru exit code for other commands in $PROMPT_COMMAND
This commit is contained in:
parent
1d2b2cd34f
commit
66b6f9e6d0
@ -183,6 +183,8 @@ __bp_precmd_invoke_cmd() {
|
||||
"$precmd_function"
|
||||
fi
|
||||
done
|
||||
|
||||
return $__bp_last_ret_value
|
||||
}
|
||||
|
||||
# Sets a return value in $?. We may want to get access to the $? variable in our
|
||||
|
Loading…
Reference in New Issue
Block a user