bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] readline fails completion when a softlink to a directory


From: Eduardo Sanz-Garcia
Subject: [Bug-readline] readline fails completion when a softlink to a directory is involved
Date: Wed, 09 Apr 2008 10:47:07 -0600
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9


Configuration Information:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
uname output: Linux bighorn 2.6.9-67.0.4.ELsmp #1 SMP Sun Feb 3 07:08:57 EST 2008 i686 i686 i386 GNU/Linux
Machine Type: i686-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 15
Release Status: release

Description:
    readline completion problem when using symbolic links

Repeat-By:
Create the following directory tree:
   .
   |-area ....
   |         :
   |         :
   |         :
   |-level1  :
      |      V
      |-level2a: 1,2,3
      |
      |-level2b: a,b,c

 ... represent symbolic link

mkdir level1

mkdir level1/level2a
mkdir level1/level2b

touch level1/level2a/1
touch level1/level2a/2
touch level1/level2a/3

touch level1/level2b/a
touch level1/level2b/b
touch level1/level2b/c

ln -s level1/level2a area

Type: "ls area/../l"  and press tab.
If level1 is the autocompletion choice it is wrong.
The correct choices are level2a and level2b.

Thank you very much. And sorry in advance if this is not a real problem.



reply via email to

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