Purge bash completion:
Delete (or move somewhere) this directory:
In files (if they exist):
~/.bashrc /etc/bash_completion /etc/bash.bashrc /etc/profile
Comment lines like:
... if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
Then reinstall bash-completion:
Try if it works, if not remove comment from ~/.bashrc on lines:
... # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). # if [ -f /etc/bash_completion ] && ! shopt -oq posix; then # . /etc/bash_completion # fi