On Sat, Feb 03, 2018 at 02:57:33PM +0100, Egmont Koblinger wrote: > So the use case is: Someone wants to _add_ something to > PROMPT_COMMAND. How to do that?
PROMPT_COMMAND+=$'\n''my new stuff' Or, test whether PROMPT_COMMAND is currently empty, and only append the newline (or semicolon) if it's non-empty. But the newline should work in either case.