Topic: (Solved) No Bash-completion in Sid after upgrade (to v1.99)

When installed basic tab completion of basic commands and paths works (i.e. "apt-ge<Tab>" becomes "apt-get" and "/hom<tab>" becomes "/home/"), but more advanced completions are entirely missing (i.e. "apt-get inst<tab>" does nothing).

This problem is mentioned in a few relevant places such as on the Debian and Aptosid Forums including a possible solution via symbolic linking (which didn't seem to help for me).

Any ideas fellow #!ers?

Solution:
So I found a (temporary?) solution to this problem:
Edit the file /usr/share/bash-completion/bash_completion

gksudo gedit /usr/share/bash-completion/bash_completion

by changing the line

: ${BASH_COMPLETION_COMPAT_DIR:=/etc/bash_completion.d}

to

: ${BASH_COMPLETION_COMPAT_DIR:=/usr/share/bash-completion/completions}

Last edited by punk_physicist (2012-01-11 23:31:11)