1
1
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:
Sandro Jäckel 2021-12-10 22:42:22 +01:00 committed by Wez Furlong
parent 1d2b2cd34f
commit 66b6f9e6d0

View File

@ -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