bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prompt - cursor position - command history display problem


From: Chet Ramey
Subject: Re: Prompt - cursor position - command history display problem
Date: Sun, 18 Oct 2009 20:40:05 -0400
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

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    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]