Package: bash
Version: 3.2-4
Severity: normal

pet...@naxos:~/tmp$ mkdir foo
pet...@naxos:~/tmp$ mkdir bar
pet...@naxos:~/tmp$ cd bar
pet...@naxos:~/tmp/bar$ mkdir baz
pet...@naxos:~/tmp/bar$ ln -s ../foo foo
pet...@naxos:~/tmp/bar$ cd foo
pet...@naxos:~/tmp/bar/foo$ ls ../ba
  Hit Tab, completes incorrectly:
pet...@naxos:~/tmp/bar/foo$ ls ../baz 
ls: cannot access ../baz: No such file or directory
pet...@naxos:~/tmp/bar/foo$ cd ../ba
  Hit Tab, does not offer any completion.  Must type explicitly:
pet...@naxos:~/tmp/bar/foo$ cd ../baz
pet...@naxos:~/tmp/bar/baz$

So not only does it offer the wrong completion for `ls`, but it fails to 
offer that completion for `cd`, for which it would be correct!

(Actually, it seems to offer the completion for `cd` if you have not 
sourced /etc/bash_completion, but does not if you have sourced 
/etc/bash_completion.)

This bug has been around for a long time, and I keep expecting it to get 
fixed because it is so glaring.  Needs reporting I guess.

-- System Information:
Debian Release: 5.0
Architecture: amd64 (x86_64)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to