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

Re: PATCH: _archie

In article <199910180916.LAA25903@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> Combination of `computil' not reporting that options are allowed at
> that position and a bit of stupidity in `_arguments'.

Thanks. First <TAB> works well now. But second <TAB> doesn't.

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% compconf group_matches=yes message_format='%d' description_format='%d'
is27e1u11% compconf describe_options=yes describe_values=yes option_prefix=yes
is27e1u11% archie -<TAB><TAB>
-D -- debug level
-L -- list known servers and current default
-N -- specifies query niceness level (0-35765)
-O -- specifies offset
-V -- verbose mode
-a -- list matches as Alex filenames
-c -- case sensitive substring search
-e -- exact string match (default)
-h -- specifies server host
-l -- list one match per line
-m -- specifies maximum number of hits to return (default 95)
-o -- specifies file to store results in
-r -- regular expression search
-s -- case insensitive substring search
-t -- sort inverted by date
-v -- print version

I think second <TAB> should insert "D" to command line, but zsh
doesn't insert anything.
Tanaka Akira

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