Debian Bug report logs - #742345
bash-completion: Fails to autocomplete on filenames starting with a square bracket

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: Neilvert Noval <mawala_una@codedincantation.com>

Date: Sat, 22 Mar 2014 17:12:02 UTC

Severity: normal

Found in version bash-completion/1:2.1-2

Fixed in version bash-completion/1:2.1-4

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, mawala_una@codedincantation.com, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742345; Package bash-completion. (Sat, 22 Mar 2014 17:12:06 GMT) (full text, mbox, link).


Acknowledgement sent to Neilvert Noval <mawala_una@codedincantation.com>:
New Bug report received and forwarded. Copy sent to mawala_una@codedincantation.com, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 22 Mar 2014 17:12:06 GMT) (full text, mbox, link).


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

From: Neilvert Noval <mawala_una@codedincantation.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: Fails to autocomplete on filenames starting with a square bracket
Date: Sun, 23 Mar 2014 01:09:03 +0800
Package: bash-completion
Version: 1:2.1-2
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
        On bash, I cannot autocomplete files starting with square brackets '['. 
        Example, if I have a file [aText].txt, and I want to do:
            $> cat [<tab>
        The file won't autocomplete.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        I usually just type the whole file just to have a workaround. But it would be tiresome for long filenames.
   * What was the outcome of this action?
        Filenames starting with square brackets can't autocomplete. 
   * What outcome did you expect instead?
        Filenames starting with square brackets should autocomplete when the TAB key is pressed.
        

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (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/dash

Versions of packages bash-completion depends on:
ii  bash  4.3-2
ii  dpkg  1.17.6

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#742345; Package bash-completion. (Sat, 22 Mar 2014 17:45:15 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <dapal@debian.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 22 Mar 2014 17:45:15 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: 742345@bugs.debian.org
Cc: Neilvert Noval <mawala_una@codedincantation.com>
Subject: Re: Bug#742345: bash-completion: Fails to autocomplete on filenames starting with a square bracket
Date: Sat, 22 Mar 2014 18:43:12 +0100
Hello,

On Sun, 23 Mar 2014 01:09:03 +0800, Neilvert Noval wrote:

> [..]
>    * What led up to the situation?
>         On bash, I cannot autocomplete files starting with square brackets
> '['. Example, if I have a file [aText].txt, and I want to do:
>             $> cat [<tab>
>         The file won't autocomplete.

Can you please try 2.1-3? It is currently in unstable, and we fixed a couple of
issues with bash 4.3 -- including failure to complete on filenames.

Thanks,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742345; Package bash-completion. (Mon, 24 Mar 2014 17:27:09 GMT) (full text, mbox, link).


Acknowledgement sent to dapal@debian.org:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 24 Mar 2014 17:27:09 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: psepheroth <psepheroth@yahoo.com>
Cc: 742345@bugs.debian.org
Subject: Re: Bug#742345: bash-completion: Fails to autocomplete on filenames starting with a square bracket
Date: Mon, 24 Mar 2014 18:25:26 +0100
[Message part 1 (text/plain, inline)]
On Sun, 23 Mar 2014 19:57:05 -0700 (PDT), psepheroth wrote:

> Is it ok if I will just wait for the stable release? I will verify the fix
> from there (the reason is, I don't want to install the unstable on my system)
> If that's ok with you.
> thanks.

You don't need to upgrade to unstable.

Just download
http://ftp.de.debian.org/debian/pool/main/b/bash-completion/bash-completion_2.1-4_all.deb

and install it with "dpkg -i bash-completion_2.1-4_all.deb", and then open a
new bash shell to see if it works.

Thanks,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742345; Package bash-completion. (Mon, 24 Mar 2014 23:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to psepheroth <psepheroth@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 24 Mar 2014 23:15:04 GMT) (full text, mbox, link).


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

From: psepheroth <psepheroth@yahoo.com>
To: "dapal@debian.org" <dapal@debian.org>
Cc: "742345@bugs.debian.org" <742345@bugs.debian.org>
Subject: Re: Bug#742345: bash-completion: Fails to autocomplete on filenames starting with a square bracket
Date: Mon, 24 Mar 2014 16:12:35 -0700 (PDT)
hi there.
I have followed the instructions, downloaded the file and do 'dpkg -i'. But still the problem occur.

Here's the info after I installed version 2.1-4:

$> dpkg -s bash-completion
Package: bash-completion
Status: install ok installed
Priority: standard
Section: shells
Installed-Size: 929
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Architecture: all
Multi-Arch: foreign
Version: 1:2.1-4
Replaces: bash, cryptsetup (<< 2:1.1.2-2), xen-tools (<= 4.1-1)
Depends: bash (>= 3.2)
Pre-Depends: dpkg (>= 1.15.7.2~)
Breaks: xen-tools (<= 4.1-1)
Conffiles:
 /etc/profile.d/bash_completion.sh 749e4786543bc3d19e20b0e214806c35
 /etc/bash_completion a81b3f1cb197219b815942f4fc7fa94e
Description: programmable completion for the bash shell
 bash completion extends bash's standard completion behavior to achieve
 complex command lines with just a few keystrokes.  This project was
 conceived to produce programmable completion routines for the most
 common Linux/UNIX commands, reducing the amount of typing sysadmins
 and programmers need to do on a daily basis.
Homepage: http://bash-completion.alioth.debian.org




On Tuesday, March 25, 2014 1:25 AM, David Paleino <dapal@debian.org> wrote:
On Sun, 23 Mar 2014 19:57:05 -0700 (PDT), psepheroth wrote:

> Is it ok if I will just wait for the stable release? I will verify the fix
> from there (the reason is, I don't want to install the unstable on my system)
> If that's ok with you.
> thanks.

You don't need to upgrade to unstable.

Just download
http://ftp.de.debian.org/debian/pool/main/b/bash-completion/bash-completion_2.1-4_all.deb

and install it with "dpkg -i bash-completion_2.1-4_all.deb", and then open a
new bash shell to see if it works.


Thanks,
David

-- 
. ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
: :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742345; Package bash-completion. (Mon, 24 Mar 2014 23:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to psepheroth <psepheroth@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 24 Mar 2014 23:27:04 GMT) (full text, mbox, link).


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

From: psepheroth <psepheroth@yahoo.com>
To: "dapal@debian.org" <dapal@debian.org>
Cc: "742345@bugs.debian.org" <742345@bugs.debian.org>
Subject: Re: Bug#742345: bash-completion: Fails to autocomplete on filenames starting with a square bracket
Date: Mon, 24 Mar 2014 16:24:28 -0700 (PDT)
Please disregard my previous comment. I tried restarting after the installation, and it will now work.
Bash can now complete filenames with square-brackets.
Verified fix.


On Tuesday, March 25, 2014 7:12 AM, psepheroth <psepheroth@yahoo.com> wrote:
hi there.
I have followed the instructions, downloaded the file and do 'dpkg -i'. But still the problem occur.

Here's the info after I installed version 2.1-4:

$> dpkg -s bash-completion
Package: bash-completion
Status: install ok installed
Priority: standard
Section: shells
Installed-Size: 929
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Architecture: all
Multi-Arch: foreign
Version: 1:2.1-4
Replaces: bash, cryptsetup (<< 2:1.1.2-2), xen-tools (<= 4.1-1)
Depends: bash (>= 3.2)
Pre-Depends: dpkg (>= 1.15.7.2~)
Breaks: xen-tools (<= 4.1-1)
Conffiles:
 /etc/profile.d/bash_completion.sh 749e4786543bc3d19e20b0e214806c35
 /etc/bash_completion a81b3f1cb197219b815942f4fc7fa94e
Description: programmable completion for the bash shell
 bash completion extends bash's standard completion behavior to achieve
 complex command lines with just a few keystrokes.  This project was
 conceived to produce programmable completion routines for the most
 common Linux/UNIX commands, reducing the amount of typing sysadmins
 and programmers need to do on a daily basis.
Homepage: http://bash-completion.alioth.debian.org





On Tuesday, March 25, 2014 1:25 AM, David Paleino <dapal@debian.org> wrote:
On Sun, 23 Mar 2014 19:57:05 -0700 (PDT), psepheroth wrote:

> Is it ok if I will just wait for the stable release? I will verify the fix
> from there (the reason is, I don't want to install the unstable on my system)
> If that's ok with you.
> thanks.

You don't need to upgrade to unstable.

Just download
http://ftp.de.debian.org/debian/pool/main/b/bash-completion/bash-completion_2.1-4_all.deb

and install it with "dpkg -i bash-completion_2.1-4_all.deb", and then open a
new bash shell to see if it works.


Thanks,
David

-- 
. ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
: :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174



Marked as fixed in versions bash-completion/1:2.1-4. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 24 Mar 2014 23:33:22 GMT) (full text, mbox, link).


Marked Bug as done Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Mon, 24 Mar 2014 23:33:22 GMT) (full text, mbox, link).


Notification sent to Neilvert Noval <mawala_una@codedincantation.com>:
Bug acknowledged by developer. (Mon, 24 Mar 2014 23:33:24 GMT) (full text, mbox, link).


Message sent on to Neilvert Noval <mawala_una@codedincantation.com>:
Bug#742345. (Mon, 24 Mar 2014 23:33:27 GMT) (full text, mbox, link).


Message #34 received at 742345-submitter@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: control@bugs.debian.org
Cc: 742345-submitter@bugs.debian.org
Subject: closing 742345
Date: Tue, 25 Mar 2014 00:32:27 +0100
close 742345 1:2.1-4
thanks




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 25 Apr 2014 07:29:07 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:31:57 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.