zsh-workers
 help / color / mirror / code / Atom feed
* Please make "apt install <tab>" completion work on "local" .deb files
@ 2018-02-27 16:54 Chris Lamb
  2018-03-22  0:09 ` Oliver Kiddle
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Lamb @ 2018-02-27 16:54 UTC (permalink / raw)
  To: zsh-workers

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
       `-


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-05  9:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-27 16:54 Please make "apt install <tab>" completion work on "local" .deb files 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

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).