How to fix the autocomplete in the terminal – Ubuntu 9.10
Today I found a curious thing, is that the terminal autocomplete did not work, something essential for me at this stage of life. He stopped working out of the blue and I have no idea why, but how to put it back in operation is as follows:
You open a text editor / etc / bash.bashrc
$ sudo vim /etc/bash.bashrc
and look for the following lines:
# enable bash completion in interactive shells
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
To return to auto-complete function leaving them so uncomment these lines:
# enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
close the terminal and open it again, this way and load the new terminal with this new configuration, we can continue our normal life thanks to the auto.
Greetings.