diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-01-21 13:53:28 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-01-21 13:53:28 +0000 |
commit | 63b336243fdf5e60058472fa456ed11e75280189 (patch) | |
tree | f101df4260c4cef5d32c63456ca98e23d6b54449 /Completion/Unix/Command/_dvi | |
parent | 1b530bf152e1ca8c9c135c58a4753899d68db8e4 (diff) | |
download | zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.gz zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.xz zsh-63b336243fdf5e60058472fa456ed11e75280189.zip |
19387: add (-.) glob qualifier to globs where only files are directly applicable
Diffstat (limited to 'Completion/Unix/Command/_dvi')
-rw-r--r-- | Completion/Unix/Command/_dvi | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/Completion/Unix/Command/_dvi b/Completion/Unix/Command/_dvi index 672b4419d..154be68fb 100644 --- a/Completion/Unix/Command/_dvi +++ b/Completion/Unix/Command/_dvi @@ -3,10 +3,10 @@ local expl args args=( - '-i[specify input file]:input DVI file:_files -g \*.\(dvi\|DVI\)' \ - '-o[specify output file]:output DVI file:_files -g \*.\(dvi\|DVI\)' \ - ':input DVI file:_files -g \*.\(dvi\|DVI\)' \ - ':output DVI file:_files -g \*.\(dvi\|DVI\)' + '-i[specify input file]:input DVI file:_files -g "*.(dvi|DVI)(-.)"' \ + '-o[specify output file]:output DVI file:_files -g "*.(dvi|DVI)(-.)"' \ + ':input DVI file:_files -g "*.(dvi|DVI)(-.)"' \ + ':output DVI file:_files -g "*.(dvi|DVI)(-.)"' ) case "$service" in @@ -15,52 +15,52 @@ dvips) '-a[make three passes]' \ '(-B)-A[print only odd numbered pages]' \ '(-A)-B[print only even numbered pages]' \ - '(-c -C)-b[select number of copies (duplicating body)]:number of copies:' \ - '(-b -C)-c[select number of copies]:number of copies:' \ - '(-b -c)-C[select number of copies (collated)]:number of copies:' \ - '-d[set debug flags]:debug flags:' \ - '(-X -Y)-D[set resolution]:resolution in dots per inch:' \ - '-e[set maximum character offset]:maximum character offset:' \ + '(-c -C)-b[select number of copies (duplicating body)]:number of copies' \ + '(-b -C)-c[select number of copies]:number of copies' \ + '(-b -c)-C[select number of copies (collated)]:number of copies' \ + '-d[set debug flags]:debug flags' \ + '(-X -Y)-D[set resolution]:resolution in dots per inch' \ + '-e[set maximum character offset]:maximum character offset' \ '-E[generate EPSF file]' \ '(-o)-f[write to stdout]' \ '-F[append control-D]' \ - '-h[specify additional header file]:postscript header file:_files -g \*.\(\#i\)\(ps\|eps\)' \ + '-h[specify additional header file]:postscript header file:_files -g "*.(#i)(ps|eps)(-.)"' \ '-i[one file per section]' \ '-k[print crop marks]' \ '-K[include postscript comments]' \ - '(-pp)-l[specify last page to print]:number of last page:' \ + '(-pp)-l[specify last page to print]:number of last page' \ '-m[specify manual feed for printer]' \ '-M[no automatic font generation]' \ - '(-pp)-n[specify maximum number of pages to print]:maximum number of pages:' \ + '(-pp)-n[specify maximum number of pages to print]:maximum number of pages' \ '-N[turn off structured comments]' \ - '(-f)-o[specify output file name]:output file name:_files -g \*.\(\#i\)\(ps\|eps\)' \ - '-O[specify offset of origin]:offset of origin (<x>,<y>):' \ + '(-f)-o[specify output file name]:output file name:_files -g "*.(#i)(ps|eps)(-.)"' \ + '-O[specify offset of origin]:offset of origin (<x>,<y>)' \ '(-p -l -n)-pp[specify which pages to print]:list of pages or ranges to print:' \ - '(-pp)-p[specify first page to print]:number of first page:' \ - '-P[specify printer]:printer name:' \ + '(-pp)-p[specify first page to print]:number of first page' \ + '-P[specify printer]:printer name' \ '-q[quiet operation]' \ '-r[reverse order of pages]' \ '-s[enclose output in save/restore pair]' \ - '-S[set maximum number of pages per section]:maximum number of pages per section:' \ + '-S[set maximum number of pages per section]:maximum number of pages per section' \ '(-T)*-t[specify paper type]:paper type:(letter legal ledger a4 a3 landscape)' \ - '(-t)-T[set paper size]:paper size (<x>,<y>):' \ - '-x[set magnification ratio]:magnification ratio (per mille):' \ - '(-D)-X[set horizontal resolution]:horizontal resolution:' \ - '(-D)-Y[set vertical resolution]:vertical resolution:' \ + '(-t)-T[set paper size]:paper size (<x>,<y>)' \ + '-x[set magnification ratio]:magnification ratio (per mille)' \ + '(-D)-X[set horizontal resolution]:horizontal resolution' \ + '(-D)-Y[set vertical resolution]:vertical resolution' \ '-Z[compress bitmapped fonts]' \ - ':input file:_files -g \*.\(dvi\|DVI\)' + ':input file:_files -g "*.(dvi|DVI)(-.)"' ;; dvibook) _arguments -s \ '-q[quiet operation]' \ - '-s-[specify signature size]:signature size:' \ + '-s-[specify signature size]:signature size' \ "$args[@]" ;; dviconcat) _arguments \ - '-m[specify magnification]:magnification factor:' \ - '-o[specify output file]:output DVI file:_files -g \*.\(dvi\|DVI\)' \ - '*:input DVI file:_files -g \*.\(dvi\|DVI\)' + '-m[specify magnification]:magnification factor' \ + '-o[specify output file]:output DVI file:_files -g "*.(dvi|DVI)(-.)"' \ + '*:input DVI file:_files -g "*.(dvi|DVI)(-.)"' ;; dvidvi) _arguments -s \ @@ -71,8 +71,8 @@ dvidvi) '(-i -x)-n[select number of pages]:maximum number of pages:' \ '(-f -l -n)-i[specify included pages]:list of included pages:' \ '(-f -l -n)-x[specify excluded pages]:list of excluded pages:' \ - ':input DVI file:_files -g \*.\(dvi\|DVI\)' \ - ':output DVI file:_files -g \*.\(dvi\|DVI\)' + ':input DVI file:_files -g "*.(dvi|DVI)(-.)"' \ + ':output DVI file:_files -g "*.(dvi|DVI)(-.)"' ;; dviselect) _arguments -s \ @@ -90,6 +90,6 @@ dvitodvi) ;; *) _description files expl 'DVI file' - _files "$expl[@]" -g '*.(dvi|DVI)' + _files "$expl[@]" -g '*.(dvi|DVI)(-.)' ;; esac |