On my desktop typing python- and pressing Tab offers suggestions of installable packages that are prefixed python. My server doesn't have this ability, how can I fix that?


Install bash-completion and put this line in your ~/.bashrc (but check first if there is a similar line first):

. /etc/bash_completion

Note that it will only take effect in new terminals you open from now on. To take effect in the current terminal source your ~/.bashrc

source ~/.bashrc


. ~/.bashrc
| improve this answer | |
  • 2
    Actually... you can just type source ~/.bashrc in the command line and it will reload the .bashrc system. You won't need to relogin. – Thomas Ward Apr 14 '11 at 1:38
  • Put your suggestion in the text of the answer, thank you. – enzotib Apr 14 '11 at 12:49
  • I don't have edit powers :/ – Thomas Ward Apr 14 '11 at 15:26

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.