Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Please make "apt install <tab>" completion work on "local" .deb files
- X-seq: zsh-workers 42409
- From: Chris Lamb <lamby@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Please make "apt install <tab>" completion work on "local" .deb files
- Date: Tue, 27 Feb 2018 16:54:55 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=kbldu5JAXRgdJ7vC1PqI6rkv2+0Vr veEMzzfxDlpJB0=; b=gNXyh2X1Cwc79KoI4QLYs7CAkUa5HjOgLzdu3c3y/a8EZ W+7wxEMjNVI4df0r2RTZSfviFIeTMpE66uxWMaC00x9gof0bZd+Vhezf936XsMcn 0g55JmGHeolA0u43UrdOZLwh8ik8k5ZG8aq47uXuL7DJhLhdI8uDfQyULSDx+Dsw yB2WMooR0lqx0CJZdn+YKS1GG/IOJp8RkCuYw2l7INgfZB4lT9QlDHfDJMrhia8C nSjfeUin6fpZItsU0HsvRHoeXuWNLHjt4NvmwTbeFi2qQjzVJw62MLzhCstt79Mp WM4mgDzIHYC7aMS/nS2yKgfgXJfIixzbfHnVG8eTw==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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@xxxxxxxxxx / chris-lamb.co.uk
`-
Messages sorted by:
Reverse Date,
Date,
Thread,
Author