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

_arguments - completing option several times



Why this does not work?

    '(-f --file)'{\*-d,\*--directory=}'[add directory to infopath]:info
dir:_files -/'

I get

bor@itsrm2% info -d /x/y/z -d /to/i  zs
No matches for: `menu items' or `menu item'

Note that it tries to interpret option value as argument?

-andrej



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