Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Please make "apt install <tab>" completion work on "local" .deb files



Hi Oliver,


> On 27 Feb, Chris Lamb wrote:
> >
> > 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
> 
> Is the same applicable to apt download, source and build-dep also?
> Or just some subset of those?

No, only install for the filename case.

> Is any path valid, just so long as it contains at least one slash? Or does
> it have to be something like "./"?

Has to be "./"  :-)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@xxxxxxxxxx / chris-lamb.co.uk
       `-



Messages sorted by: Reverse Date, Date, Thread, Author