Bug#891140: [Pkg-zsh-devel] Bug#891140: zsh: Please make "apt install " completion work on "local" .deb files

2018-02-23 Thread Chris Lamb
Hi Daniel, Thanks for your input! > 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 s

Bug#891140: [Pkg-zsh-devel] Bug#891140: zsh: Please make "apt install " completion work on "local" .deb files

2018-02-23 Thread Daniel Shahaf
Chris Lamb wrote on Thu, Feb 22, 2018 at 16:18:29 +: > $ sudo apt install ./f > > … should expand to: > > $ sudo apt install ./foo_1.0_amd64.deb > > It probably wants to be limited to .deb files so it doesn't trigger > for the usual use-cases of installing packages from APT. In a nutshe