[Bug 298799] Re: No tab completion when using quote (")

Peter Cordes peter at cordes.ca
Sat Nov 29 01:51:51 UTC 2014


works for me, at least after applying the fix for bug 1387057 (properly
quoting "$quoted").  On Trusty.  This is probably the same bug.

 Or maybe not: I'm seeing
$ echo ./"./foo[TAB]  turns into
$ echo ./"././foo

 every [TAB] adds another ./

foo does get expanded to the longest common prefix of multiple possible
matches, though.

 So programmable completion still isn't exactly rock solid with quotes.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/298799

Title:
  No tab completion when using quote (")

Status in bash-completion package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bash-completion

  From what I remember there used to be working tab completion for files
  when starting the argument with a quote ("). This is especially useful
  when one works with files with spaces. Currently completion only works
  with a single quote ('). Here's an example of what I mean:

  $ touch "foo bar"
  $ mv "<tab>
  foo bar
  $ mv "f<tab>
  foo bar

  The behavior when using a single quote (') is identical. Is there a
  specific reason for this?

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  Package: bash-completion 20060301-4ubuntu1
  PackageArchitecture: all
  ProcEnviron:
   LC_TIME=nl_NL.utf8
   PATH=/home/username/bin:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash-completion
  Uname: Linux 2.6.27-7-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/298799/+subscriptions



More information about the foundations-bugs mailing list