On Thu, Aug 11, 2022, 11:20 AM Felipe Contreras wrote: > > For reference bash does have the equivalent of that with \[ \], but > that's specific to bash and it's converted to \001 \002 internally > which is what readline understands. A prompt function (like > __git_ps1()) cannot return \[ \]. In that case we should document this as being for readline compatibility rather than bash prompt compatibility. Forestalls more of the slippery slope arguments, too.