bug-bash
[Top][All Lists]
Advanced

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

completion lists directories in $PATH as commands


From: Pascal Terjan
Subject: completion lists directories in $PATH as commands
Date: Mon, 06 Mar 2006 20:41:11 -0000

Retrying as this mail does not appear after 5 days

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-mandriva-linux-gnu'
-DCONF_VENDOR='mandriva' -DLOCALEDIR='/usr/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.  -I.. -I../include
-I../lib   -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fomit-frame-pointer -march=i586 -mtune=pentiumpro
-fasynchronous-unwind-tables
uname output: Linux localhost 2.6.12-13mdk-i686-up-4GB #1 Mon Nov 21
18:31:00 CET 2005 i686 Intel(R) Pentium(R) M processor 1.60GHz unknown
GNU/Linux
Machine Type: i586-mandriva-linux-gnu

Bash Version: 3.1
Patch Level: 7
Release Status: release

Description:
        When some directories (or link to directories) are present in
        some directory listed in $PATH, they are returned as if they    
        were commands.

Repeat-By:
        # mkdir /usr/bin/foo
        # fo[TAB]
        -> will complete to "foo "

Fix:
        Test if the file is a directory (or links to)





reply via email to

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