zsh-workers
 help / color / mirror / code / Atom feed
* #compdef lines prevent X11 and init.d completion
@ 2010-01-10 17:10 Benjamin R. Haskell
  2010-01-10 18:12 ` Benjamin R. Haskell
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin R. Haskell @ 2010-01-10 17:10 UTC (permalink / raw)
  To: Zsh Workers

The first line of Completion/X/Utility/_x_arguments is:

#compdef -P */X11(|R[456])/*

It appears the purpose of that line is to grant '-display' and 
'-geometry' arguments to any command residing in those directories.

I frequently use <filename as a command unto itself, happily 
tab-completing the whole of filename.  But, that line prevents me from 
tab-completing into the /etc/X11 and /usr/share/X11 directories.

Similarly, the first line of Completion/Unix/Command/_init_d is:

#compdef -P */(init|rc[0-9S]#).d/*

which prevents completing things in /etc/init.d.

Seems like a bug to me -- not 100% sure where, so I figured I'd ping the 
list before patching it myself.

Thanks,
Ben


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-13 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-10 17:10 #compdef lines prevent X11 and init.d completion Benjamin R. Haskell
2010-01-10 18:12 ` Benjamin R. Haskell
2010-01-13 20:28   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).