Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
other _arguments problems
- X-seq: zsh-workers 9696
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: other _arguments problems
- Date: 13 Feb 2000 12:48:21 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I found two other _arguments problems when I wrote _psutils.
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% zstyle ':completion*:messages' format '%d'
is27e1u11% _tst () { _arguments '-x:arg:' }
is27e1u11% tst -x<TAB>
no arguments
It should insert ` '.
is27e1u11% _tst () { _arguments '-x' ':arg:' }
is27e1u11% tst -<TAB>
arg
It should insert `x '.
zsh-3.1.6-pws-6 behaves as I expected.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author