> > In a nutshell, _apt-cmd() should call «_files -g '*.deb'» where it currently > > calls _deb_packages. > > I did try this (honest!) but I couldn't get it to work. :) > > Also, note that "apt install" really does need a path-ish, ie: > > $ apt install ./foo.deb > > ie. not simply doing > > $ apt install foo.deb > > So, a naive _files as you suggest will be broken, unless I'm > missing something :)
No, you're correct, plain _files wouldn't do. Would you be able to take this to the upstream mailing list? The people who really know the completion system don't necessarily read Debian bug reports. Cheers, Daniel