From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6314 invoked from network); 9 Jun 1999 12:54:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Jun 1999 12:54:35 -0000 Received: (qmail 9981 invoked by alias); 9 Jun 1999 12:54:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6553 Received: (qmail 9974 invoked from network); 9 Jun 1999 12:54:16 -0000 From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: pws-21: multiple -X in compadd Date: Wed, 9 Jun 1999 16:53:38 +0400 Message-ID: <001901beb277$181b5790$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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 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