From 397f465e0dec1743127789d539ad7b88443447e5 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 18 Apr 2003 08:15:48 +0000 Subject: users/6013: new gqview completion and complete .ps/.pdf files for more commands --- Completion/Unix/Type/_pdf | 6 +++--- Completion/Unix/Type/_ps | 4 ++-- Completion/X/Command/.distfiles | 2 +- Completion/X/Command/_gqview | 12 ++++++++++++ 4 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 Completion/X/Command/_gqview (limited to 'Completion') 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\)' -- cgit 1.4.1