Fixed bug in PROMPT_COMMAND