There's something fishy going on,

/usr/bin/python /etc/ba[TAB] =>  prints a single completion, but doesn't apply 
it.
bash_completion.d/

python /etc/ba[TAB] => /etc/bash_completion.d/

 I think when testing this before, I had my completion dynamic loading
messed up, and wasn't getting /usr/share/bash-
completion/completions/python

Turns out keeping an unmodified copy of what Ubuntu ships isn't enough,
you need a symlink to /usr/share/bash-completion/completions in the
directory with it, because it cares about where it lives.  Checking
other bugs I closed recently in case I tested improperly... xD


** Summary changed:

- COMP_WORDS bad array subscript in python completion
+ ./python completion problems

** Changed in: bash-completion (Ubuntu)
       Status: Incomplete => Confirmed

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

Title:
  ./python completion problems

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

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

Reply via email to