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

help with a completion script?



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?



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