Restricted tab-completion is annoying

Morgan Collett morgan.collett at
Thu Oct 11 08:19:10 UTC 2007

On 10/11/07, Aaron C. de Bruyn <ubuntu-devel-discuss at> wrote:
> Yes, you hit tab to complete certain commands and filenames.  It seems like Ubuntu is trying to be helpful by showing you only the things it thinks you need.

bash completion isn't an Ubuntu feature specifically - it's a bash
feature. See for
more details.

It now doesn't only operate on files. Try "apt-cache show
linux-image-3<Tab>" and you'll see it complete from the package

If you type cd, it only completes on directory names.

If you type mplayer, there's obviously a rule to only complete files
with a common video extension. So my guess is you could modify the
bash completion config to perhaps complete any file there, or write a
script to rename your videos to the appropriate extension.

Hope that helps

More information about the Ubuntu-devel-discuss mailing list