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

Chris Lamb lamby at debian.org
Thu Feb 22 16:18:29 UTC 2018


Package: zsh
Version: 5.4.2-3
Severity: wishlist

Hi,

Please make "apt install <tab>" completion work on local .deb
files. For example, given a "foo_1.0_amd64.deb" in the current
directory:

  $ sudo apt install ./f<TAB>

… 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.

I did try adding this myself but my zsh completion fu is clearly
not up to the task, alas.. :(


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Pkg-zsh-devel mailing list