Fixed PROMPT_COMMAND and pearl_update