prevent nesting of PROMPT_COMMAND