Bash Completion in Ubuntu

Dayne was complaining about bash completion not working in Ubuntu. Here’s the fix. It’s easy.

Edit /etc/bash.bashrc and find this:


# enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

Uncomment it if it’s not. Restart the shell. Amazing.



Comments are closed