Here is how to get autocomplete to work in the Terminal while using
"sudo". Simply open the ".bashrc" hidden file from your home folder.

sudo gedit ~/.bashrc


Then paste this at the bottom of the file:

if [ "$PS1" ]; then
complete -cf sudo
fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/549521

Title:
  terminal in Lucid Beta lacks auto-completion  after sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/549521/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to