[Top][All Lists]

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

dabbrev-expand completions are sorted

From: roee
Subject: dabbrev-expand completions are sorted
Date: Tue, 14 Mar 2017 22:54:08 -0700 (PDT)

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE -DRECYCLES_PIDS 
-DDEFAULT_PATH_VALUE='/usr/local/bin:/usr/bin'  -O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
uname output: Linux us124 3.18.28-3999105.Arora18release.1.fc18.x86_64 #1 SMP 
Mon Dec 26 00:35:18 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-redhat-linux-gnu

Bash Version: 4.3
Patch Level: 42
Release Status: release

        dabbrev-expand supposed to menu complete using history where most 
recent entries are presented first. However, it seems like the entries are 
        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.

        Execute in this order:
        $ ls ~/tmp1
        $ ls ~/tmp2
        $ ls ~/tmp3
        then begin typing:
        $ ls ~/t
        and press dabbrev-expand shortcut key. This appears:
        $ ls ~/tmp1
        press dabbrev-expand key again, and this appears:
        $ ls ~/tmp2
        press dabbrev-expand key again, and this appears:
        $ ls ~/tmp3

reply via email to

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