From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: Vincent Lefevre <vincent@vinc17.org>, 289664@bugs.debian.org
Subject: Re: Bug#289664: zsh: completion for gnome-gv
Date: Mon, 10 Jan 2005 13:28:55 -0500 [thread overview]
Message-ID: <20050110182855.GA7135@scowler.net> (raw)
In-Reply-To: <20050110130828.GA27082@dixsept.loria.fr>
> There are no completions for gnome-gv yet. gnome-gv accepts .ps files
> (NO pdf), possibly compressed (e.g. with gzip or bzip2). Concerning
> the options, they are given in a standard way by "gnome-gv --help"
> (I don't know if zsh knows to parse that).
This should do the trick.
Index: Completion/Unix/Command/_gnome-gv
===================================================================
RCS file: Completion/Unix/Command/_gnome-gv
diff -N Completion/Unix/Command/_gnome-gv
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_gnome-gv 10 Jan 2005 18:28:25 -0000
@@ -0,0 +1,6 @@
+#compdef gnome-gv ggv
+
+_arguments \
+ '(--help)-\\?[help]' \
+ '(--windows)-w[number of empty windows]:number:' \
+ '*:file: _pspdf -z' --
Index: Completion/Unix/Type/_pspdf
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_pspdf,v
retrieving revision 1.2
diff -u -r1.2 _pspdf
--- Completion/Unix/Type/_pspdf 21 Jan 2004 13:53:29 -0000 1.2
+++ Completion/Unix/Type/_pspdf 10 Jan 2005 18:28:25 -0000
@@ -1,4 +1,4 @@
-#compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv ggv pstoedit pstotgif
+#compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv pstoedit pstotgif
local expl ext
parent reply other threads:[~2005-01-10 18:35 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20050110130828.GA27082@dixsept.loria.fr>]
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=20050110182855.GA7135@scowler.net \
--to=schizo@debian.org \
--cc=289664@bugs.debian.org \
--cc=vincent@vinc17.org \
--cc=zsh-workers@sunsite.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).