help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] the first line of $PS1 is not updated when it's multi-li


From: Eduardo A . Bustamante López
Subject: Re: [Help-bash] the first line of $PS1 is not updated when it's multi-line
Date: Sat, 19 Jul 2014 18:21:03 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

You might want to report it as a bug in bug-bash. Also, be patient. Chet also
checks this list, but his responses can delay a bit :)

On Sat, Jul 19, 2014 at 06:18:32PM +0100, 李仁林 wrote:
> Hi all,
> 
> Recently I use bash 4.3, and it provides a cool notation to help me find
> out which mode am I in when vi editing is enabled.
> 
> I use the following bashrc configuration to enable them
> 
> bind 'set show-mode-in-prompt on'
> set -o vi
> 
> it works nice when my $ps1 is one line. and it doesn't work when it spans
> into two line.
> It seems only the current editing line is updated.
> 
> for example:
> 
> address@hidden:/work/
> $ type_CMD_here
> 
> Is there a way to specify the mode hint position so that I can put it in
> the second line to circumvent this problem? or it's possible to update the
> whole command prompt?
> 
> Kind regards!
> Renlin Li
> 
> -- 
> 天行健,君子以自强不息!



reply via email to

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