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

PATCH: 3.1.6-pws-4: _xrdb



I added this mainly because _x_arguments is used for all commands with a
path component X11, and doesn't treat files as the default; maybe it should
if it isn't given any other arguments.  Or something.

--- Completion/X/_xrdb.not	Mon Sep 13 16:23:47 1999
+++ Completion/X/_xrdb	Mon Sep 13 14:20:19 1999
@@ -0,0 +1,9 @@
+#compdef xrdb
+
+_arguments \
+  -{help,all,global,screen,screens,n,quiet,nocpp,symbols,query,load,merge,remove,retain} \
+  '-display:display:_x_display' \
+  '-cpp:preprocessor program:_files -g \*\(\*\)' \
+  '-edit:file to insert:_files' \
+  '-backup:suffix for backup: ' \
+  '*:defaults file:_files'

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