bug-bash
[Top][All Lists]
Advanced

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

Bash does not autocomplete after file creates


From: Andreas Gruenbacher
Subject: Bash does not autocomplete after file creates
Date: Wed, 25 Mar 2009 13:37:03 +0100
User-agent: KMail/1.9.9

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: 
gcc -I/usr/src/packages/BUILD/bash-4.0 
-L/usr/src/packages/BUILD/bash-4.0/../readline-6.0
Compilation 
CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu' 
-DCONF_MACHTYPE='i586-suse-linux-gnu' -DCONF_VENDOR='suse' 
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  
-I. -I./include -I./lib   -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -std=gnu89 -Wextra 
-Wno-unprototyped-calls -Wno-switch-enum -Wno-unused-variable 
-Wno-unused-parameter -ftree-loop-linear -pipe -fprofile-use
uname output: Linux schurl 2.6.27.4-1-pae #1 SMP 2008-10-27 19:53:11 +0100 
i686 i686 i386 GNU/Linux
Machine Type: i586-suse-linux-gnu

Bash Version: 4.0
Patch Level: 10
Release Status: release

Description:
        This sequence of actions causes bash not to autocomplete when it should
        ({key} means "type this key"; carriage return is explicit):

        --Session A--                 --Session B, same directory--
        rm -f foo*{return}
                                      cat foo{tab}
        touch foobar{return}
                                      {tab}

        At the first {tab}, bash finds that "foo" has no completion. At the
        second {tab}, bash finds that it can now complete to "foobar". However,
        it shows a list of possible completions with one choice instead of
        completing to "foobar" right away.

        If the order of the touch and cat is reversed, bash immediately
        autocompletes to "foobar" as expected.

Repeat-By:
        See description.

Andreas




reply via email to

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