Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: stylistic override to _deb_packages
- X-seq: zsh-workers 9504
- From: Alexandre Duret-Lutz <duret_g@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: stylistic override to _deb_packages
- Date: 01 Feb 2000 12:08:15 +0100
- Cc: Clint Adams <schizo@xxxxxxxxxx>
- In-reply-to: Clint Adams's message of "Sat, 29 Jan 2000 17:37:22 -0500"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000129173722.A13963@xxxxxxxxxxx>
>>> "Clint" == Clint Adams <schizo@xxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author