Debian Bug report logs - #538891
bash: completion incorrect with symlinks

version graph

Package: bash; Maintainer for bash is Matthias Klose <doko@debian.org>; Source for bash is src:bash (PTS, buildd, popcon).

Reported by: Peter Dillinger <pcd@ccs.neu.edu>

Date: Mon, 27 Jul 2009 19:03:02 UTC

Severity: normal

Found in version bash/3.2-4

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#538891; Package bash. (Mon, 27 Jul 2009 19:03:08 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Dillinger <pcd@ccs.neu.edu>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (Mon, 27 Jul 2009 19:03:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Peter Dillinger <pcd@ccs.neu.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash: completion incorrect with symlinks
Date: Mon, 27 Jul 2009 13:50:55 -0500
Package: bash
Version: 3.2-4
Severity: normal


peterd@naxos:~/tmp$ mkdir foo
peterd@naxos:~/tmp$ mkdir bar
peterd@naxos:~/tmp$ cd bar
peterd@naxos:~/tmp/bar$ mkdir baz
peterd@naxos:~/tmp/bar$ ln -s ../foo foo
peterd@naxos:~/tmp/bar$ cd foo
peterd@naxos:~/tmp/bar/foo$ ls ../ba
  Hit Tab, completes incorrectly:
peterd@naxos:~/tmp/bar/foo$ ls ../baz 
ls: cannot access ../baz: No such file or directory
peterd@naxos:~/tmp/bar/foo$ cd ../ba
  Hit Tab, does not offer any completion.  Must type explicitly:
peterd@naxos:~/tmp/bar/foo$ cd ../baz
peterd@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)




Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#538891; Package bash. (Wed, 06 Jan 2010 12:57:13 GMT) (full text, mbox, link).


Acknowledgement sent to Philip Muskovac <yofel@gmx.net>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Wed, 06 Jan 2010 12:57:13 GMT) (full text, mbox, link).


Message #10 received at 538891@bugs.debian.org (full text, mbox, reply):

From: Philip Muskovac <yofel@gmx.net>
To: 538891@bugs.debian.org
Subject: Ubuntu
Date: Wed, 06 Jan 2010 13:54:01 +0100
[Message part 1 (text/plain, inline)]
https://launchpad.net/bugs/503761
should be the same issue.
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 9 21:31:13 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.