bug-bash
[Top][All Lists]
Advanced

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

Re: dabbrev-expand completions are sorted


From: Chet Ramey
Subject: Re: dabbrev-expand completions are sorted
Date: Wed, 15 Mar 2017 07:50:51 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 3/15/17 1:54 AM, address@hidden wrote:

> Bash Version: 4.3
> Patch Level: 42
> Release Status: release
> 
> Description:
>       dabbrev-expand supposed to menu complete using history where most 
> recent entries are presented first. However, it seems like the entries are 
> sorted.
>       This is from the release notes of bash-4.1: "Changes to dabbrev-expand 
> to make it more `emacs-like': no space appended after matches, completions 
> are not sorted, and most recent history entries are presented first.
>       This bug has been verified on bash 4.4 as well as on bash 4.3.

I can't reproduce this on bash-4.4.  If I bind dabbrev-expand to, say,
"\C-x\C-d" and follow the steps in your report, I cycle through ~/tmp3,
~/tmp2, and ~/tmp1 as possible completions when I hit C-xC-d.

You might check whether or not you have a programmable completion for `ls'
that could be sorting the matches.

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



reply via email to

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