diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-04-18 08:15:48 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-04-18 08:15:48 +0000 |
commit | 397f465e0dec1743127789d539ad7b88443447e5 (patch) | |
tree | fdf5b4123682912af7b76319c1d50a8713277558 /Completion | |
parent | 8036c4d739c7d26e34bfb661262cd2546204146e (diff) | |
download | zsh-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')
-rw-r--r-- | Completion/Unix/Type/_pdf | 6 | ||||
-rw-r--r-- | Completion/Unix/Type/_ps | 4 | ||||
-rw-r--r-- | Completion/X/Command/.distfiles | 2 | ||||
-rw-r--r-- | Completion/X/Command/_gqview | 12 |
4 files changed, 18 insertions, 6 deletions
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\)' |