Hey Greg.
On Wed, 2026-08-05 at 14:58 -0400, Greg Wooledge wrote:
> Astonishingly, the LLM is correct this time. If your PS1 includes
> an expansion that has escape sequences, those escape sequences need
> to be surrounded by the ASCII bytes \001 and \002 instead of \[ and
> \].
> Essentially, you're converting the \[ \] into the internal format
> used
> by bash/readline yourself.
Ah... thanks :-D Would it perhaps make sense to have this added to
the bash manpage?
Cheers,
Chris.