Fix variable expansion in PROMPT_COMMAND