Extend bash completion

Wander Boessenkool wander at tomaatnet.nl
Mon Mar 7 18:22:27 UTC 2005


On Mon, 2005-03-07 at 18:18 +0100, Gábor Iglói wrote:
> Hi!
> 
> I wonder if there's a package for extending the bash autocompletion
> feature in Warty or Hoary... It's annoying when typing sudo and then
> hitting the TAB furiously without any success :)
> 

It's in there already. In your .bashrc uncomment these lines:

if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

While you're at it, you might also want to look in on uncommenting some
of the standard aliases like 'll'. They make life a lot easier.


> I think these settings are under /etc/bash_completion.d
> 
-- 
BOFH excuse #73:

Daemons did it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050307/98b437ef/attachment.sig>


More information about the ubuntu-users mailing list