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

Re: _redirect and _x_arguments completion issue



On Apr 7,  5:40pm, Alexey I. Froloff wrote:
} 
} $ </etc/X11/<Tab>
} 
} Nothing!

I'm not understanding why this matters to the next question.

} Isn't _x_arguments dead since XOrg?

Could you explain that a little more?  I *think* what you mean is
"since XOrg released X11R7.x".  I don't have access to a system with
that installed; on my CentOS4 system, with XOrg 6.8, it's still
working fine.  Is there anything OTHER THAN the following that
should be changed?

Index: _x_arguments
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-4.0/Completion/X/Utility/_x_arguments,v
retrieving revision 1.2
diff -c -r1.2 _x_arguments
--- _x_arguments	27 Apr 2001 05:21:55 -0000	1.2
+++ _x_arguments	7 Apr 2010 14:48:51 -0000
@@ -1,4 +1,4 @@
-#compdef -P */X11(|R[456])/*
+#compdef -P */X11(|R<4->)/*
 
 local ret long xargs opts rawret nm="$compstate[nmatches]"
 


-- 



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