Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working under debian squeeze. I always install packages such way:

sudo apt-g(Tab pressed) i(Tab pressed) aria(Tab pressed)
sudo apt-get install aria2

I have installed chroot squeeze to test my deb packages to prevent demage to main system. But such tips (Tab) doesn't work there. I think I can enable this tips in .bashrc. How to do this?

share|improve this question
up vote 4 down vote accepted

The relevant section in the debian default bashrc is

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion

The file sourced there is part of the bash-completion package:

$ dpkg -S /etc/bash_completion
bash-completion: /etc/bash_completion
share|improve this answer

Your Answer


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.