about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-04-18 08:15:48 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-04-18 08:15:48 +0000
commit397f465e0dec1743127789d539ad7b88443447e5 (patch)
treefdf5b4123682912af7b76319c1d50a8713277558 /Completion/X
parent8036c4d739c7d26e34bfb661262cd2546204146e (diff)
downloadzsh-397f465e0dec1743127789d539ad7b88443447e5.tar.gz
zsh-397f465e0dec1743127789d539ad7b88443447e5.tar.xz
zsh-397f465e0dec1743127789d539ad7b88443447e5.zip
users/6013: new gqview completion and complete .ps/.pdf files for more commands
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/.distfiles2
-rw-r--r--Completion/X/Command/_gqview12
2 files changed, 13 insertions, 1 deletions
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\)'