[Bug 484628] Re: bash-completion needs match "fallback" function

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


another workaround: as /usr/share/doc/bash-completion/README.gz
suggests, use M-/ to use bash's builtin filename completion, rather than
calling the programmable completion functions.  That will complete on
any filename, since it doesn't have any command-specific filtering.

-- 
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/484628

Title:
  bash-completion needs match "fallback" function

Status in bash-completion package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bash-completion

  It would make the most sense if I just given an example.  Suppose I
  have a DVD .ISO file buried a couple levels down in my filesystem,
  that I want to open with XINE, and I type the following (knowing for
  certain it will resolve to exactly one match):

  xine /ra{tab}dir{tab}som{tab}

  It would normally expand to something like:

  xine /rainbird/directory/somefile.iso

  However, bash-completion prevents this match,probably because it
  thinks XINE can't play an ISO file.  It of course can play them
  (provided I add "dvd://" in front of the path, after I'm done tabbing)

  I think the best bet would be to make bash-completion default to
  normal, unfiltered filename matches if it can't find a specific
  filetype in its configuration (equivalent to what you'd get without
  the package installed at all).  I think this would solve a number of
  other problems such as that mentioned in bug #115224 , bug #127605 ,
  bug #156200 , and probably a number of others.

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



More information about the foundations-bugs mailing list