zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: _a2ps & _arguments
Date: Fri, 7 Jan 2000 11:32:44 +0100 (MET)	[thread overview]
Message-ID: <200001071032.LAA18416@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Thu, 06 Jan 2000 20:17:35 +0000


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


             reply	other threads:[~2000-01-07 11:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-07 10:32 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-06 20:17 Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200001071032.LAA18416@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).