During testing if you source it twice you get
that problem now.
The error code formatting/logging gets broken if
we run prompt_command after other stuff. Running
anything external obviously resets $?.
vte.sh from vte291 coexistence
See https://bugzilla.redhat.com/show_bug.cgi?id=1183192
In oreder work this script should be sourced after vte.sh, so
the name should be something that sorts after vte.sh (z-ps-twtty-7.sh)