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

Re: PATCH: completion for more X commands



Sven Wischnowsky wrote:
> This adds `_xutils' containing completion code for some of the
> standard X utilities. If this is accepted, `_xrdb' and `_xsetroot'
> should be removed.

Except that xrdb now doesn't complete *exactly* the thing I needed _xrdb to
do in the first place.

I thought the theory was there should be some way for the user to intercept
choices with functions of their own by testing something or other?

--- Completion/X/_xutils.xrdb	Mon Sep 20 13:38:45 1999
+++ Completion/X/_xutils	Mon Sep 20 13:44:24 1999
@@ -131,6 +131,7 @@
     '-backup:backup extension:' \
     '*-D-:symbol to define:' \
     '*-U-:symbol to undefine:' \
-    '*-I-:include directory:_files -/'
+    '*-I-:include directory:_files -/' \
+    '*:defaults file:_files'
   ;;
 esac

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author