From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27191 invoked from network); 7 Jan 2000 11:26:27 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jan 2000 11:26:27 -0000 Received: (qmail 15902 invoked by alias); 7 Jan 2000 11:26:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9261 Received: (qmail 15895 invoked from network); 7 Jan 2000 11:26:15 -0000 Date: Fri, 7 Jan 2000 11:32:44 +0100 (MET) Message-Id: <200001071032.LAA18416@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Thu, 06 Jan 2000 20:17:35 +0000 Subject: Re: _a2ps & _arguments Peter Stephenson wrote: > I've just installed the GNU version of a2ps and I'm getting dreck from > _arguments when _a2ps is called, e.g. > > _arguments:255: command not found: (ps|eps) > _arguments:256: command not found: _ > _arguments:255: command not found: (ps|eps) > _arguments:256: command not found: _ > _arguments:255: command not found: (ps|eps) > _arguments:256: command not found: _ > _arguments:255: command not found: (ps|eps) > _arguments:256: command not found: _ > > I don't know if this is _a2ps or maybe the latest changes to evals in > _arguments. > > I suppose if I want _a2ps to understand short options I should write it > myself. A missing backslash in _a2ps. Bye Sven diff -ru ../z.old/Completion/User/_a2ps Completion/User/_a2ps --- ../z.old/Completion/User/_a2ps Thu Jan 6 16:04:13 2000 +++ Completion/User/_a2ps Fri Jan 7 11:31:38 2000 @@ -22,7 +22,7 @@ ) fi -_arguments '*:text file:_files -g \*\~\*.\(\#i)\(ps\|eps\)' -- \ +_arguments '*:text file:_files -g \*\~\*.\(\#i\)\(ps\|eps\)' -- \ '*\*:toggle:(yes no)' \ '*=DIRECTION:direction:(rows columns)' \ '*=TYPE:type:(r n nr rn any)' \ -- Sven Wischnowsky wischnow@informatik.hu-berlin.de