Re: bash-3.2 regression: command history display with coloured PS1.
From:
Peter Volkov
Subject:
Re: bash-3.2 regression: command history display with coloured PS1.
Date:
Mon, 26 Mar 2007 20:56:29 +0400
On Пнд, 2007-03-26 at 17:35 +0200, Andreas Schwab wrote:
> Peter Volkov <torre_cremata@mail.ru> writes:
> > Steps to reproduce:
> > PS1="\e[36m[\e[34m\u\e[0m \e[32m\w\e[36m] \\$\e[0m "
>
> This is broken. You need to bracket escape sequences with \[ \].
Eh. Right. Sorry for noise.
--
Peter.
signature.asc Description: This is a digitally signed message part