set PROMPT_COMMAND ahead of promptline