Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _x_arguments too broad
- X-seq: zsh-workers 9824
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: _x_arguments too broad
- Date: Mon, 21 Feb 2000 13:28:31 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
zsh 433 % /usr/bin/X11/imake <TAB>-display
-display -geometry
Not very useful. OTOH, /usr/openwin/bin/imake will
complete files, which is perhaps more desirable in
this instance. Since not every binary in */X11/*
is going to take -display and -geometry, and most
are likely to take other arguments, a better solution
is needed.
Index: Completion/X/_x_arguments
===================================================================
RCS file: /cvs/zsh/zsh/Completion/X/_x_arguments,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 _x_arguments
--- Completion/X/_x_arguments 2000/02/18 11:10:37 1.1.1.4
+++ Completion/X/_x_arguments 2000/02/21 18:20:28
@@ -1,4 +1,4 @@
-#compdef -P */X11/*
+#autoload
local ret long xargs
Messages sorted by:
Reverse Date,
Date,
Thread,
Author