Debian Bug report logs - #613326
bash-completion: path completion breaks at each dir

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: remote fish <yuningdodo@gmail.com>

Date: Mon, 14 Feb 2011 04:00:02 UTC

Severity: minor

Found in version bash-completion/1:1.3-1

Done: David Paleino <dapal@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#613326; Package bash-completion. (Mon, 14 Feb 2011 04:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to remote fish <yuningdodo@gmail.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 14 Feb 2011 04:00:04 GMT) (full text, mbox, link).


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

From: remote fish <yuningdodo@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: path completion breaks at each dir
Date: Mon, 14 Feb 2011 11:44:43 +0800
Package: bash-completion
Version: 1:1.3-1
Severity: minor

Path completion has strage behaviour after the recent upgrade on my box.

Take the command `ls' as an example. Notice, I add a '#' at each command line
just to show the end of line, the '#' is not typed.

Before the upgrade,

$ ls /var<TAB><TAB>#

gives

$ ls /var/#
backups/ games/   local/   log/     opt/     spool/   www/
cache/   lib/     lock/    mail/    run/     tmp/

the subdirs are list as completion.

But now,

$ ls /var<TAB><TAB>#

gives

$ ls /var #

and "/var " is treated as a complete argument, if you press <TAB><TAB> again,
it begins a new completion (list subdirs in current dir), but not to list
subdirs in /var/.

Not only `ls', there are quite a lot of commands behave like this, `cp', `mv',
`tar', `rm' (rm with this strage behaviour is quite dangerous)....

There are still some commands dosen't have this problem, like `cd', `svn'....



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          4.1-3      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#613326; Package bash-completion. (Mon, 14 Feb 2011 07:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ville Skyttä <ville.skytta@iki.fi>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 14 Feb 2011 07:00:04 GMT) (full text, mbox, link).


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

From: Ville Skyttä <ville.skytta@iki.fi>
To: remote fish <yuningdodo@gmail.com>, 613326@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#613326: bash-completion: path completion breaks at each dir
Date: Mon, 14 Feb 2011 08:58:14 +0200
Do you have Adobe Reader and its bash completion installed?  It is known
to break things in various ways, including the way you describe:

http://forums.adobe.com/thread/745833

The problematic completion from Adobe Reader installs to
/etc/bash_completion.d/acroread.sh on my Fedora box, don't know if the
path is the same in Debian.




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#613326; Package bash-completion. (Tue, 15 Feb 2011 02:57:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ning Yu <yuningdodo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Tue, 15 Feb 2011 02:57:07 GMT) (full text, mbox, link).


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

From: Ning Yu <yuningdodo@gmail.com>
To: Ville Skyttä <ville.skytta@iki.fi>
Cc: 613326@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#613326: bash-completion: path completion breaks at each dir
Date: Tue, 15 Feb 2011 02:54:44 +0000
[Message part 1 (text/plain, inline)]
Thank you for your reply.

I did have adobe reader installed, and there did had a
/etc/bashcompletion.d/acroread.sh. Everything goes right after I rename the
_filedir command to _adobe_firedir. Thank you again.

2011/2/14 Ville Skyttä <ville.skytta@iki.fi>

> Do you have Adobe Reader and its bash completion installed?  It is known
> to break things in various ways, including the way you describe:
>
> http://forums.adobe.com/thread/745833
>
> The problematic completion from Adobe Reader installs to
> /etc/bash_completion.d/acroread.sh on my Fedora box, don't know if the
> path is the same in Debian.
>
[Message part 2 (text/html, inline)]

Bug closed, send any further explanations to remote fish <yuningdodo@gmail.com> Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Tue, 15 Feb 2011 07:42:03 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 Mar 2011 07:38:28 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:51:19 2023; Machine Name: bembo

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.