cleaned up PROMPT_COMMAND a bit