bug-bash
[Top][All Lists]
Advanced

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

Re: bash prompt misbehaving - correction.


From: Bernd Eggink
Subject: Re: bash prompt misbehaving - correction.
Date: Tue, 30 Jun 2009 11:23:27 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090605)

Chris Jones schrieb:
...
> After retrieving a command
from the history via a CTRL-R, an ensuing CTRL-A moves the cursor to
somewhere in the middle of the prompt and CTRL-E is short of the
retrieved command's end by some ten characters.
...

PS1="\[\033[0;41m\][\$(date +%T)address@hidden:\w]\\$\[\033[0m\] "

This works correctly with bash 4.0.24.

Regards,
Bernd

--
Bernd Eggink
http://sudrala.de




reply via email to

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