Trivial to reproduce.  I've just upgraded from 8.04 -> 10.04 -> 10.10
and it seems bash_completion has been re-enabled for me somewhere along
the line.  Because I have failglob set <Tab> filename completion is
broken.

    $ shopt -u failglob
    $ ls /nonexistant^C
    $ shopt -s failglob
    $ ls /nonexistant-bash: no match: "${COMP_WORDS[@]}"
    $ 

Both times I typed Tab after "nonexistant".  The first time there's no
matches and I press ^C to give up.  The second time bash immediately
gives that error and aborts the line I was part-way through entering.

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

Title:
  bash_completion script errors: undefined variables, failed GLOB

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to