Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
pws-21: multiple -X in compadd
- X-seq: zsh-workers 6553
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: pws-21: multiple -X in compadd
- Date: Wed, 9 Jun 1999 16:53:38 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
While testing something different ...
bor@itsrm2:~%> zsh -f
itsrm2% source /tools/share/zsh/functions/compinit
itsrm2% {
cursh> foo() {
cursh function> compadd -J 1 -X "Options set 1" a111x a111y
cursh function> compadd -J 2 -X "Options set 2" a222x a222y
cursh function> }
cursh> }
itsrm2% compdef foo foo
itsrm2% foo a<TAB>
itsrm2% foo a
Options set 1
a111x a111y
Options set 2
a222x a222y (press TAB once more)
itsrm2% foo a111x
Options set 1Options set 2
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author