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

PATCH: _x_arguments too broad



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