On 5/28/18 3:29 PM, Rahul Kumar wrote:
> I'm not sure if this is a bug, but after upgrading to Ubuntu 18.04
> (which uses Readline 7.0) from an earlier version (using Readline 6.0),
> the behavior of history-search-backward/forward in Bash seems to be
> a bit different.  I have the following lines in my ~/.inputrc to cyle
> through Bash's command line history:
> 
>   "\eOA": history-search-backward
>   "\eOB": history-search-forward
>   "\e[A": history-search-backward
>   "\e[B": history-search-forward
> 
> Now, if I start with an emtpy ~/.bash_history and type in a two-word
> command like
> 
>   $ echo helloworld
> 
> and try to complete the arguments to echo the next time
> 
>   $ echo <arrow-up>
> 
> the command gets completed twice:
> 
>   $ echo helloworld
>   echo helloworld

Sorry, I can't reproduce this using bash-4.4.19.


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

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to