From: Chris Lamb <lamby@debian.org>
To: zsh-workers@zsh.org
Subject: Please make "apt install <tab>" completion work on "local" .deb files
Date: Tue, 27 Feb 2018 16:54:55 +0000 [thread overview]
Message-ID: <1519750495.1943824.1285291424.7F4B6205@webmail.messagingengine.com> (raw)
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. Note that
"apt install" really does need a path-ish, ie:
$ apt install ./foo.deb
ie. not simply doing
$ apt install foo.deb
(ie. a "naive" _files will not be correct)
I did try adding this myself but my zsh completion fu is clearly
not up to the task and I originally filed this in Debian here but
it was suggested I take it upstream:
https://bugs.debian.org/891140
Thanks in advance :)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
next reply other threads:[~2018-02-27 17:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-27 16:54 Chris Lamb [this message]
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
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=1519750495.1943824.1285291424.7F4B6205@webmail.messagingengine.com \
--to=lamby@debian.org \
--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).