0

When I say sudo sh, TAB stops working as autocomplete signal on my Debian. How can I enable TAB key autocomplete after I say sudo sh ?

4

Trying using sudo bash instead of sudo sh.

  • the best answer!!! – stiv May 22 '13 at 10:29
1

Try executing complete -cf sudo. If it works, you can just add it to your .bashrc file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.