Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: stylistic override to _deb_packages



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