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?

link|improve this question

feedback

1 Answer

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
fi

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

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

Your Answer

 
or
required, but never shown

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