Does anybody know why if I type:
but if I type:
sudo apt-get upg<TAB>
sudo apt-get upgrade-from-grub-legacy
Found the solution. Some time ago, trying to make bash-completion work also for sudo, I added:
complete -cf sudo
to my .bashrc. Commenting it out makes my sudo apt-get autocomplete correctly.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
8 months ago