zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Vincent Lefevre <vincent@vinc17.org>,
	zsh-workers@sunsite.dk, 262157@bugs.debian.org
Subject: Re: Bug#262157: zsh: Missed completion for apt-get install -t unstable
Date: Sun, 1 Aug 2004 10:13:09 -0400	[thread overview]
Message-ID: <20040801141309.GA13073@scowler.net> (raw)
In-Reply-To: <20040730171026.GM2892@ay.vinc17.org>

> The best solution would be c. If this is too complicated or would
> take too much time, at least choose b if the -t option is used.

Here's the shortcut.


Index: Completion/Debian/Command/_apt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt,v
retrieving revision 1.8
diff -u -r1.8 _apt
--- Completion/Debian/Command/_apt	21 Nov 2003 08:05:43 -0000	1.8
+++ Completion/Debian/Command/_apt	1 Aug 2004 14:09:42 -0000
@@ -423,7 +423,7 @@
     /$'update\0'/ \| \
     /$'upgrade\0'/ \| \
     \( \
-    /$'install\0'/ /$'[^\0]#\0'/ ':packages::{ _deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \
+    /$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
     /$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
     /$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
     /$'dist-upgrade\0'/ \| \


      reply	other threads:[~2004-08-01 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040729225547.GA3042@ay.vinc17.org>
2004-07-30 15:41 ` Clint Adams
2004-07-30 17:09   ` Oliver Kiddle
2004-07-30 17:10   ` Vincent Lefevre
2004-08-01 14:13     ` Clint Adams [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=20040801141309.GA13073@scowler.net \
    --to=clint@zsh.org \
    --cc=262157@bugs.debian.org \
    --cc=vincent@vinc17.org \
    --cc=zsh-workers@sunsite.dk \
    /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).