zsh-workers
 help / color / mirror / code / Atom feed
From: Alexandre Duret-Lutz <duret_g@epita.fr>
To: zsh-workers@sunsite.auc.dk
Cc: Clint Adams <schizo@debian.org>
Subject: Re: PATCH: stylistic override to _deb_packages
Date: 01 Feb 2000 12:08:15 +0100	[thread overview]
Message-ID: <mvbwvop89k0.fsf@phobos.lrde.epita.fr> (raw)
In-Reply-To: Clint Adams's message of "Sat, 29 Jan 2000 17:37:22 -0500"

>>> "Clint" == Clint Adams <schizo@debian.org> writes:

 Clint> With this patch, 'packageset' can be used to override the
 Clint> argument to _deb_packages.

[...]

This add the completion for this new style.

Index: Completion/Builtins/_zstyle
--- Completion/Builtins/_zstyle Mon, 24 Jan 2000 13:13:23 +0100 Alexandre
+++ Completion/Builtins/_zstyle Tue, 01 Feb 2000 11:58:49 +0100 Alexandre
@@ -42,6 +42,7 @@
   menu			 c:boolauto
   numbers		 c:bool
   original		 c:bool
+  packageset		 c:packageset
   path			 'c:_path_files -/'
   ports			 c:_ports
   prefix-hidden		 c:bool
@@ -138,6 +139,11 @@
     listwhen)
       _wanted values expl 'when to list completions' &&
 	compadd "$expl[@]" always never sometimes
+      ;;
+
+    packageset)
+      _wanted values expl 'default package set' &&
+        compadd "$expl[@]" available installed uninstalled
       ;;
 
     progress)

-- 
Alexandre Duret-Lutz


      parent reply	other threads:[~2000-02-01 11:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-29 22:37 Clint Adams
2000-01-30  1:20 ` Tanaka Akira
2000-02-01 11:08 ` Alexandre Duret-Lutz [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=mvbwvop89k0.fsf@phobos.lrde.epita.fr \
    --to=duret_g@epita.fr \
    --cc=schizo@debian.org \
    --cc=zsh-workers@sunsite.auc.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).