[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PS1 colored
From: |
Walter Laub |
Subject: |
PS1 colored |
Date: |
Wed, 13 Jun 2001 10:15:42 +0200 |
Hello,
I think there is a bug in bash:
version: GNU bash, version 2.04.0(1)-release (i386-suse-linux)
hardware: x86, linux
If I set a colored prompt " export PS1='^[[31m${LOGNAME}@${HOSTNAME}
\>^[[37m' " then a longer commandline is missing the automatical newline
and overwrites itself. Without the escape-sequences for coloring there
is no problem.
Mit freundlichen Gruessen/Kind regards
Walter Laub
(Fa. Schwindt CAD/CAM-Technologie GmbH)
- PS1 colored,
Walter Laub <=