Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

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

or

. ~/.bashrc
share|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 W. 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 W. Apr 14 '11 at 15:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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