Handle more PROMPT_COMMAND cases