[Bash-completion-devel] Bug#648319: bash-completion: /etc/bash_completion script doesn't do the job

rush rush1503 at gmail.com
Wed Jan 11 08:07:18 UTC 2012


Sorry again, just missed all others in CC.

2012/1/11, Jonathan Nieder <jrnieder at gmail.com>:
>
> Please use a subject line.  Often, preserving the subject
> line of the message you are replying to is enough.
>

Oh, I'm sorry.

> I don't follow.  Isn't COMPAT_DIR _supposed_ to point to
> /etc/bash_completion.d?  Which completion is not working?

If I specify /etc/bash_completion.d in this variable noone from
/usr/share/bash-completion/completions/ will work. I tested on ssh,
ip, apt-get, aptitude and others (nothing happens on TAB [[only dirs
suggested for completion]]). After
changing it to /usr/share/bash-completion/completions/ it works well.
But there are some comletions left in old dir. They do not work in
this case.

$ ls /etc/bash_completion.d/
apache2.2-common  desktop-file-validate  dpatch_edit_patch  git
initramfs-tools  m-a      openvpn  rinse
apt-file          devscripts.chdist      dput               grub
insserv          mpc      pon      vim-addon-manager
debconf           devscripts.pkgnames    dupload            helpers
libreoffice.sh   ncmpcpp  quilt

PS. And yes, I've restarted shell every time after I changed
/usr/share/bash-completion/bash_completion .

Best regards,
Rush.





More information about the Bash-completion-devel mailing list