about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Type/_pdf6
-rw-r--r--Completion/Unix/Type/_ps4
-rw-r--r--Completion/X/Command/.distfiles2
-rw-r--r--Completion/X/Command/_gqview12
5 files changed, 24 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b9bab9bbb..b07d1c5aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-18  Oliver Kiddle  <opk@zsh.org>
+
+	* users/6013: GoTaR <gotar@poczta.onet.pl>: Completion/Unix/Type/_ps,
+	Completion/Unix/Type/_pdf, Completion/X/Command/_gqview:
+	new gqview completion and complete .ps/.pdf files for more commands
+
 2003-04-16  Oliver Kiddle  <opk@zsh.org>
 
 	* 18446: Completion/Linux/Command/_modutils: handle modinfo and
diff --git a/Completion/Unix/Type/_pdf b/Completion/Unix/Type/_pdf
index de373a355..30d03e397 100644
--- a/Completion/Unix/Type/_pdf
+++ b/Completion/Unix/Type/_pdf
@@ -1,11 +1,11 @@
-#compdef acroread pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
+#compdef acroread pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdfopt pdffonts
 
 local expl ext=''
 
 # ghostscript:
-#  pdf2dsc pdf2ps
+#  pdf2dsc pdf2ps pdfopt
 # xpdf:
-#  pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
+#  pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdffonts
 
 if [[ "$1" == '-z' ]]; then
   ext='(|.gz|.Z)'
diff --git a/Completion/Unix/Type/_ps b/Completion/Unix/Type/_ps
index 57c419ba3..2f33d235f 100644
--- a/Completion/Unix/Type/_ps
+++ b/Completion/Unix/Type/_ps
@@ -1,9 +1,9 @@
-#compdef ps2epsi ps2pdf psmulti pswrap
+#compdef ps2epsi ps2pdf psmulti pswrap ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps
 
 local expl ext=''
 
 # ghostscript:
-#  ps2epsi ps2pdf
+#  ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps
 
 if [[ "$1" == '-z' ]]; then
   ext='(|.gz|.Z)'
diff --git a/Completion/X/Command/.distfiles b/Completion/X/Command/.distfiles
index 4ed8751bc..82c56c1ba 100644
--- a/Completion/X/Command/.distfiles
+++ b/Completion/X/Command/.distfiles
@@ -2,5 +2,5 @@ DISTFILES_SRC='
 .distfiles
 _gv        _netscape  _xauth     _xfig      _mozilla   _xterm     _xwit
 _nedit     _vnc       _x_utils   _xdvi      _xmodmap   _xset      _xv
-_dcop      _xloadimage
+_dcop      _gqview    _xloadimage
 '
diff --git a/Completion/X/Command/_gqview b/Completion/X/Command/_gqview
new file mode 100644
index 000000000..309bc1a38
--- /dev/null
+++ b/Completion/X/Command/_gqview
@@ -0,0 +1,12 @@
+#compdef gqview
+
+_arguments \
+  '(+t -t --without-tools --with-tools)'{+t,--with-tools}'[force show of tools]' \
+  '(+t -t --without-tools --with-tools)'{-t,--without-tools}'[force hide of tools]' \
+  '(--fullscreen -f)'{-f,--fullscreen}'[start in full screen mode]' \
+  '(--slideshow -s)'{-s,--slideshow}'[start in slideshow mode]' \
+  '(--list -l)'{-l,--list}'[open collection window for command line]' \
+  '--debug[turn on debug output]' \
+  '(--version -v)'{-v,--version}'[print version info]' \
+  '(--help -h)'{-h,--help}'[show help]' \
+  '*:picture file:_files -/ -g \*.\(\#i\)\(jpg\|jpe\|jpeg\|png\|gif\|tif\|tiff\|bmp\)'