zsh-workers
 help / color / mirror / code / Atom feed
* help with a completion script?
@ 2015-08-04 17:56 Will Leinweber
  2015-08-04 18:57 ` Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: Will Leinweber @ 2015-08-04 17:56 UTC (permalink / raw)
  To: zsh-workers

I have a medium-to-small completion script here: http://git.io/vOaxv .
I've read through several tutorials, other scripts, and zshcompsys(1),
but there is one main thing I haven't been able to figure out.

The first argument to this binary is either one of several
subcommands, and that is all fine, however it can also be a *.cr file.
I tried adding in _files to the subcommand list, but instead of
showing files it shows just a literal * character and ends there.

Does anyone know of example completion scripts that do both
subcommands and files as the first argument, or know how to do this?


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

end of thread, other threads:[~2015-08-04 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 17:56 help with a completion script? Will Leinweber
2015-08-04 18:57 ` Oliver Kiddle
2015-08-04 20:52   ` Will Leinweber

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