Sorry for not reading the documentation ... it just used to work and I didn't
expect it to break :)
Thanks for clarifying things.
Regards,
Christian
On Monday 29 October 2007 18:26:06 Bob Proulx wrote:
> Christian Schubert wrote:
> > PS1='\e[32m$\e[m'
>
> Non-printing characters need to be
Christian Schubert wrote:
> PS1='\e[32m$\e[m'
Non-printing characters need to be bracked with \[...\] to inform bash
that they do not display. Please see the bash documentation in the
section on "PROMPTING".
\[ begin a sequence of non-printing characters, which could
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: i686-pc-linux-gnu-gcc
Compilation
CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu'
-DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc'
-DLOCALEDIR='/usr/share/lo