zsh-workers
 help / color / mirror / code / Atom feed
* Re: _a2ps & _arguments
@ 2000-01-07 10:32 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-01-07 10:32 UTC (permalink / raw)
  To: zsh-workers


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* _a2ps & _arguments
@ 2000-01-06 20:17 Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2000-01-06 20:17 UTC (permalink / raw)
  To: Zsh hackers list

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.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-07 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-07 10:32 _a2ps & _arguments Sven Wischnowsky
  -- strict thread matches above, loose matches on Subject: below --
2000-01-06 20:17 Peter Stephenson

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).