[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Readline 7.0 and history-search-backward/forward
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] Readline 7.0 and history-search-backward/forward |
Date: |
Mon, 28 May 2018 19:46:16 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
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 address@hidden http://tiswww.cwru.edu/~chet/