Dealt with PROMPT_COMMAND variable.