Append, instead of prepend, _z to PROMPT_COMMAND for prompts utilizing $?