mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-02 00:41:44 +02:00
users/6013: new gqview completion and complete .ps/.pdf files for more commands
This commit is contained in:
parent
8036c4d739
commit
397f465e0d
@ -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
|
||||
|
@ -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)'
|
||||
|
@ -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)'
|
||||
|
@ -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
|
||||
'
|
||||
|
12
Completion/X/Command/_gqview
Normal file
12
Completion/X/Command/_gqview
Normal file
@ -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\)'
|
Loading…
Reference in New Issue
Block a user