Fix PROMPT_COMMAND for Linux console