zsh-workers
 help / color / mirror / code / Atom feed
* Re: Bug#289664: zsh: completion for gnome-gv
       [not found] <20050110130828.GA27082@dixsept.loria.fr>
@ 2005-01-10 18:28 ` Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-01-10 18:28 UTC (permalink / raw)
  To: zsh-workers; +Cc: Vincent Lefevre, 289664

> 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
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-10 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050110130828.GA27082@dixsept.loria.fr>
2005-01-10 18:28 ` Bug#289664: zsh: completion for gnome-gv Clint Adams

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