From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24616 invoked from network); 31 Mar 1999 11:36:00 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 Mar 1999 11:36:00 -0000 Received: (qmail 5155 invoked by alias); 31 Mar 1999 11:15:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5996 Received: (qmail 5147 invoked from network); 31 Mar 1999 11:15:25 -0000 Date: Wed, 31 Mar 1999 13:15:18 +0200 (MET DST) Message-Id: <199903311115.NAA08392@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk Subject: PATCH: compsys.yo I forgot to mention some of the special contexts... Bye Sven --- od/Zsh/compsys.yo Tue Mar 30 16:00:36 1999 +++ Doc/Zsh/compsys.yo Wed Mar 31 13:14:13 1999 @@ -236,6 +236,20 @@ for completing the name of a parameter expansion with braces (`tt(${...})') ) +item(tt(-first-))( +for adding completions before any other other completion functions are +tried (comparable to the `tt(-T)' flag of tt(compctl)); if this +function sets the tt(_compskip) parameter to any value, the completion +system will not call any other function to generate matches +) +item(tt(-default-))( +for generating completions when no special completion function is used +(comparable to the `tt(-D)' option of tt(compctl)) +) +item(tt(-command-))( +for completing in a command position (as with the `tt(-C)' option of +tt(compctl)) +) enditem() The example system has a default implementation for each of these -- Sven Wischnowsky wischnow@informatik.hu-berlin.de