From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8733 invoked from network); 26 Jul 2003 16:57:42 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Jul 2003 16:57:42 -0000 Received: (qmail 25184 invoked by alias); 26 Jul 2003 16:57:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6415 Received: (qmail 25173 invoked from network); 26 Jul 2003 16:57:29 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 26 Jul 2003 16:57:29 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.62.175.98] by sunsite.dk (MessageWall 1.0.8) with SMTP; 26 Jul 2003 16:57:29 -0000 Received: by nielsen.fdns.net (Postfix, from userid 501) id 5C21711CD3; Sat, 26 Jul 2003 18:57:28 +0200 (CEST) To: zsh-users@sunsite.dk Subject: completion after -- From: Erik Toubro Nielsen Date: Sat, 26 Jul 2003 18:57:28 +0200 Message-ID: User-Agent: Gnus/5.090018 (Oort Gnus v0.18) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Assume a command line, where the option --files mean that at least one filename can be given after '--' cmd --files --other-options ARG1 -- filenames... (without --files the command line is cmd --other-options ARG1 ) The _arguments function does not seem applicable. Any hints on how to write a completion function _cmd for this? Erik