Timothy James Erlenmeyer wrote: > Bash Version: 4.0 > Patch Level: 28 > Release Status: release > > Description: > > With > a color prompt, long directory names, and/or long command lines, scrolling > through the command history often causes the cursor to be in the wrong > position, the prompt to loose color and remnants of previous long commands > to remain on the line with short commands. > > Repeat-By: > > * This line is > placed in ~/.bashrc: > > PS1='[e[31;2m]w$[e[0m] '
Please read the Bash FAQ, question E3. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/