Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unset PROMPT_COMMAND in bash for replwrap #459
People may use PROMPT_COMMAND to modify the prompt (hat-tip to @Naereen, who does). Unset it to avoid breaking replwrap.
The line between customisations that people might want to be preserved in replwrap (like aliases) and those that don't make sense (like custom prompts) is somewhat indistinct. But from the uses of PROMPT_COMMAND I've seen, I think it's more likely that it shouldn't apply in replwrap.