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

Chris Lamb lamby at debian.org
Thu Apr 5 09:53:14 UTC 2018


Hi Oliver,

> > I was wonder if you could also include:
> >
> >   *.changes
> >   *.dsc
> >
> > ie. as well as *.deb. All behaviours of path-based .debs can be
> > inherited. Thanks in advance :)
> 
> Do you mean like the following patch - considering all .changes and .dsc
> files alongside .deb?

Exactly.

> -	// '%(.|)/%' -'[[ $subcmd = install ]]' /'[]'/ ':files:package 
> file:_files -g "*.deb(-.)"' \| \
> +	// '%(.|)/%' -'[[ $subcmd = install ]]' /'[]'/ ':files:package 
> file:_files -g "*.(changes|deb|dsc)(-.)"' \| \

Perfect :)


Best wishes,

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



More information about the Pkg-zsh-devel mailing list