bug-bash
[Top][All Lists]
Advanced

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

Re: Problem with vi mode in bash 5.0 beta


From: Chet Ramey
Subject: Re: Problem with vi mode in bash 5.0 beta
Date: Thu, 13 Dec 2018 08:54:53 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 12/12/18 5:32 PM, Stan Marsh wrote:
> (This is all after doing "set -o vi")
> 
> In previous versions of bash, I could do the following keys: <Esc> / ^ foo 
> <Enter>
> and it would find the most recent command that starts with foo.  This is all 
> as
> expected.
> 
> However, in bash 5.0 beta (self-compiled), this doesn't work. It always 
> leaves the
> cursor line empty (as if there was no matching history line).  If I leave out 
> the ^,
> then it works as expected (but, of course, matches the string anywhere, not 
> just at
> the beginning of the line).

These are fixed in bash-5.0-beta2.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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