[Pkg-zsh-devel] Bug#891140: Bug#891140: zsh: Please make "apt install <tab>" completion work on "local" .deb files
Chris Lamb
lamby at debian.org
Fri Feb 23 21:42:57 UTC 2018
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 simply doing
$ apt install foo.deb
So, a naive _files as you suggest will be broken, unless I'm
missing something :)
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
More information about the Pkg-zsh-devel
mailing list