To enable programmable completion on an Ubuntu system, source /etc/bash_completion. You can add this command to your personal initialization files or you can enable it globally by uncommenting the the appropriate lines in /etc/bash.bashrc.
V&C Brothers and 1 other person liked this