zsh-workers
 help / color / mirror / code / Atom feed
From: Chris Lamb <lamby@debian.org>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: zsh-workers@zsh.org, 891140@bugs.debian.org
Subject: Re: Please make "apt install <tab>" completion work on "local" .deb files
Date: Thu, 05 Apr 2018 10:53:14 +0100	[thread overview]
Message-ID: <1522921994.3084443.1327380480.74DA8E72@webmail.messagingengine.com> (raw)
In-Reply-To: <25819.1522921669@thecus>

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@debian.org / chris-lamb.co.uk
       `-


      reply	other threads:[~2018-04-05  9:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-27 16:54 Chris Lamb
2018-03-22  0:09 ` Oliver Kiddle
2018-03-22  0:16   ` Chris Lamb
2018-03-22  9:36     ` Oliver Kiddle
2018-03-22 15:34       ` Chris Lamb
2018-04-03  7:58         ` Chris Lamb
2018-04-05  9:47           ` Oliver Kiddle
2018-04-05  9:53             ` Chris Lamb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522921994.3084443.1327380480.74DA8E72@webmail.messagingengine.com \
    --to=lamby@debian.org \
    --cc=891140@bugs.debian.org \
    --cc=okiddle@yahoo.co.uk \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).