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

Re: PATCH: _archie



In article <199910211031.MAA04855@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> Aargh! Sorry.

Thanks. But...

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

(1) archie -O<TAB>

is27e1u11% archie -O<TAB>
offset

Since the option spec for -O is specified as
'-O[specifies offset]:offset:' in _archie, one space should be
inserted by <TAB> as:

is27e1u11% archie -O 
                     ^cursor should be here.

(2) flex -C<TAB><TAB>

is27e1u11% flex -C<TAB><TAB>

->

is27e1u11% flex -C--M

(3) bison -ba <TAB>

is27e1u11% bison -ba <TAB>
no more arguments
option
-V -- show version
-b -- specify output file prefix
...

File names should be completed.

(4) bison -Vba -<TAB>

is27e1u11% bison -Vba -<TAB>
option
-V -- show version
-b -- specify output file prefix
...

Since -V is already specified in first argument, it shouldn't be
listed.
-- 
Tanaka Akira



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