[Bash-completion-devel] Bug#576390: bash-completion: Fails to complete after quotes.

Philipp Weis pweis at pweis.com
Sun Apr 4 02:52:29 UTC 2010


Package: bash-completion
Version: 1:1.1-3
Severity: normal

Hello,

quotes confuse bash-completion, and I don't think they should. For
example:

$ mkdir "p's"
$ touch p\'s/test
$ ls p\'s/

Here TAB fails to complete to test. The same happens with double
quotes:

$ mkdir 'p"s'
$ touch 'p"s'/test
$ ls p\"s/

If both folders exist, something even more surprising happens:

$ ls p\"

Pressing TAB, I would expect this to complete to p\"s, but instead the
trailing \" is removed, and both folders are presented as possible
completions.

Philipp


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32 (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.1-2      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20100403/989cbeb9/attachment.pgp>


More information about the Bash-completion-devel mailing list