Root! Root! Root!

Colin Watson cjwatson at ubuntu.com
Tue Mar 15 10:51:37 UTC 2005


On Tue, Mar 15, 2005 at 09:45:40AM +0800, Senectus . wrote:
> n Tue, 15 Mar 2005 12:35:07 +1100, Cameron Hutchison
> <camh+ubuntu at xdna.net> wrote:
> > If you source /etc/bash_completion from your .bash_profile or .bashrc,
> > the completion will work for sudo commands (and many other things. eg.
> > try apt-get in<tab> and it will complete "install". apt-get remove <tab>
> > will complete on all installed packets, etc).
> 
> Is there some sort of a "howto" on doing this? 
> and just out of interest, why isn't this setup by default.. it seems
> illogical to me to not take advantage of this.

It's slow; if you start new shells very often (like I do) it's very
annoying to have to wait for a couple of seconds for bash_completion to
load.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list