summaryrefslogtreecommitdiffstats
path: root/Completion/Unix
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-01-21 13:53:28 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-01-21 13:53:28 +0000
commit63b336243fdf5e60058472fa456ed11e75280189 (patch)
treef101df4260c4cef5d32c63456ca98e23d6b54449 /Completion/Unix
parent19309: add #q to the start of a glob qualifier in the -g argument (diff)
downloadzsh-63b336243fdf5e60058472fa456ed11e75280189.tar
zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.gz
zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.bz2
zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.lz
zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.xz
zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.zst
zsh-63b336243fdf5e60058472fa456ed11e75280189.zip
19387: add (-.) glob qualifier to globs where only files are directly applicable
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_aap2
-rw-r--r--Completion/Unix/Command/_antiword2
-rw-r--r--Completion/Unix/Command/_bison10
-rw-r--r--Completion/Unix/Command/_bzip24
-rw-r--r--Completion/Unix/Command/_cdrecord4
-rw-r--r--Completion/Unix/Command/_compress4
-rw-r--r--Completion/Unix/Command/_dvi60
-rw-r--r--Completion/Unix/Command/_ecasound4
-rw-r--r--Completion/Unix/Command/_figlet4
-rw-r--r--Completion/Unix/Command/_flex2
-rw-r--r--Completion/Unix/Command/_gcc8
-rw-r--r--Completion/Unix/Command/_gdb2
-rw-r--r--Completion/Unix/Command/_gprof4
-rw-r--r--Completion/Unix/Command/_gzip4
-rw-r--r--Completion/Unix/Command/_imagemagick2
-rw-r--r--Completion/Unix/Command/_ispell12
-rw-r--r--Completion/Unix/Command/_java16
-rw-r--r--Completion/Unix/Command/_links2
-rw-r--r--Completion/Unix/Command/_lynx2
-rw-r--r--Completion/Unix/Command/_lzop4
-rw-r--r--Completion/Unix/Command/_mh4
-rw-r--r--Completion/Unix/Command/_mysqldiff2
-rw-r--r--Completion/Unix/Command/_pack4
-rw-r--r--Completion/Unix/Command/_pbm36
-rw-r--r--Completion/Unix/Command/_perl2
-rw-r--r--Completion/Unix/Command/_perldoc2
-rw-r--r--Completion/Unix/Command/_python23
-rw-r--r--Completion/Unix/Command/_rar2
-rw-r--r--Completion/Unix/Command/_ruby2
-rw-r--r--Completion/Unix/Command/_sablotron2
-rw-r--r--Completion/Unix/Command/_sccs4
-rw-r--r--Completion/Unix/Command/_texinfo18
-rw-r--r--Completion/Unix/Command/_tiff104
-rw-r--r--Completion/Unix/Command/_vorbis4
-rw-r--r--Completion/Unix/Command/_w3m2
-rw-r--r--Completion/Unix/Command/_xmlsoft4
-rw-r--r--Completion/Unix/Command/_yodl2
-rw-r--r--Completion/Unix/Command/_zip8
-rw-r--r--Completion/Unix/Type/_pdf2
-rw-r--r--Completion/Unix/Type/_ps2
-rw-r--r--Completion/Unix/Type/_pspdf2
-rw-r--r--Completion/Unix/Type/_tar_archive6
-rw-r--r--Completion/Unix/Type/_tex2
-rw-r--r--Completion/Unix/Type/_texi2
44 files changed, 195 insertions, 198 deletions
diff --git a/Completion/Unix/Command/_aap b/Completion/Unix/Command/_aap
index 6a06480ed..1e0ddd51f 100644
--- a/Completion/Unix/Command/_aap
+++ b/Completion/Unix/Command/_aap
@@ -27,7 +27,7 @@ _arguments \
{-j,--jobs=}'[maximum number of parallel jobs]:number of jobs:' \
{-u,--search-up,--up}'[search directory tree upwards for main.aap recipe]' \
\*{-I,--include=}'[directory to search for included recipes]:include directory:_files -/' \
- {-f,--recipe=}'[recipe file to be executed]:recipe file:_files -g \*.aap' \
+ {-f,--recipe=}'[recipe file to be executed]:recipe file:_files -g \*.aap\(-.\)' \
'--install=[install specified package]:package name:' \
'--[end of options, targets and assignments follow]' \
'*:aap target:->target' && ret=0
diff --git a/Completion/Unix/Command/_antiword b/Completion/Unix/Command/_antiword
index 2f99593e4..0fc4c80b8 100644
--- a/Completion/Unix/Command/_antiword
+++ b/Completion/Unix/Command/_antiword
@@ -11,6 +11,6 @@ _arguments -s -S \
'(-t -w)-L[use landscape mode (PostScript only)]' \
'-s[show hidden (by Word) text]' \
'(* -)-h[give a help message]' \
- '*:MS Word file:_files -g \*.doc' && return
+ '*:MS Word file:_files -g "*.doc(-.)"' && return
return 1
diff --git a/Completion/Unix/Command/_bison b/Completion/Unix/Command/_bison
index 350847cdd..67ad7f0e4 100644
--- a/Completion/Unix/Command/_bison
+++ b/Completion/Unix/Command/_bison
@@ -1,21 +1,21 @@
#compdef bison
_arguments -s -S \
- '(--file-prefix)-b+[specify output file prefix]:output file prefix:' \
+ '(--file-prefix)-b+[specify output file prefix]:output file prefix' \
'(--defines)-d[write token definition file]' \
'(--raw)-r[output bison token numbers]' \
'(--token-table)-k[output token table]' \
'(--no-lines)-l[don'"'"'t generate #line directives]' \
'(--no-parser)-n[don'"'"'t generate parse (only declarations)]' \
'(--output-file)-o+[specify parser output file name]:parser file name:_files' \
- '(--name-prefix)-p+[change yy prefix]:prefix string:' \
+ '(--name-prefix)-p+[change yy prefix]:prefix string' \
'(--debug)-t[output YYDEBUG definition]' \
'(--verbose)-v[verbose mode]' \
'(--version)-V[show version]' \
'(--help)-h[show help]' \
'(--yacc --fixed-output-file)-y[imitate yacc'"'"'s output file convention]' \
- ':input file:_files -g \*.\(\#i\)\(bison\|yacc\|y\)' \
+ ':input file:_files -g \*.\(\#i\)\(bison\|yacc\|y\)\(-.\)' \
-- \
'*=outfile:parser file name:_files' \
- '*file-prefix=prefix:output file prefix:' \
- '*name-prefix=prefix:prefix string:'
+ '*file-prefix=prefix:output file prefix' \
+ '*name-prefix=prefix:prefix string'
diff --git a/Completion/Unix/Command/_bzip2 b/Completion/Unix/Command/_bzip2
index 15a78e578..75f051a57 100644
--- a/Completion/Unix/Command/_bzip2
+++ b/Completion/Unix/Command/_bzip2
@@ -49,10 +49,10 @@ if [[ "$state" = files ]]; then
$+opt_args[--test] )) && unset decompress
if [[ -z "$decompress" ]]; then
_description files expl 'compressed file'
- _files "$expl[@]" -g '*.(bz2|tbz|tbz2)' && return
+ _files "$expl[@]" -g '*.(bz2|tbz|tbz2)(-.)' && return
else
_description files expl 'file to compress'
- _files "$expl[@]" -g '*~*.(bz2|tbz|tbz2)' && return
+ _files "$expl[@]" -g '^*.(bz2|tbz|tbz2)(-.)' && return
fi
fi
diff --git a/Completion/Unix/Command/_cdrecord b/Completion/Unix/Command/_cdrecord
index 02226f9d2..129f46eea 100644
--- a/Completion/Unix/Command/_cdrecord
+++ b/Completion/Unix/Command/_cdrecord
@@ -80,8 +80,8 @@ if [[ -n $state ]]; then
'mcn[set media catalog number for this CD]:text' \
'isrc[set isrc number for the next track]:text' \
'index[set the index list for the next track]:list' \
- 'textfile[set the file with CD-Text data]:name:_files -g "*.inf"' \
- 'cuefile[set the file with CDRWIN CUE data]:name:_files -g "*.cue"' && ret=0
+ 'textfile[set the file with CD-Text data]:name:_files -g "*.inf(-.)"' \
+ 'cuefile[set the file with CDRWIN CUE data]:name:_files -g "*.cue(-.)"' && ret=0
fi
_requested files expl track _files && ret=0
(( ret )) || break
diff --git a/Completion/Unix/Command/_compress b/Completion/Unix/Command/_compress
index b8f691373..cd96b8e80 100644
--- a/Completion/Unix/Command/_compress
+++ b/Completion/Unix/Command/_compress
@@ -38,10 +38,10 @@ esac
if [[ "$state" = files ]]; then
if [[ -z "$decompress" ]] || (( $+opt_args[-d] )); then
_description files expl 'file to compress'
- _files "$expl[@]" -g '*~*.Z' && return
+ _files "$expl[@]" -g '^*.Z(-.)' && return
else
_description files expl 'compressed file'
- _files "$expl[@]" -g '*.Z' && return
+ _files "$expl[@]" -g '*.Z(-.)' && return
fi
fi
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
diff --git a/Completion/Unix/Command/_ecasound b/Completion/Unix/Command/_ecasound
index 67b9c363a..204ce869a 100644
--- a/Completion/Unix/Command/_ecasound
+++ b/Completion/Unix/Command/_ecasound
@@ -29,7 +29,7 @@ _arguments \
'*-Md\:-[set the active MIDI-device]:device name:_files' \
'*-Mms\:-[send MMC start/stop to MIDI device-id]:device id' \
'*-mss[sends MIDI-sync to the selected MIDI-device]' \
- '*-pf\:-[use the first preset found from file as chain operator]:preset file:_files -g *.epp' \
+ '*-pf\:-[use the first preset found from file as chain operator]:preset file:_files -g \*.epp\(-.\)' \
'*-pn\:-[find preset from global preset database]:preset name:->pn' \
'*-ev[analyze sample data to find max apm value without clipping]' \
'*-ezf[find the optimal value for DC-adjusting]' \
@@ -135,7 +135,7 @@ case $state in
fi
else
_alternative \
- 'files:input/output file:_files -g "*.(aif|aiff|mid|wav|ewf|mp3|mp2)"' \
+ 'files:input/output file:_files -g "*.(aif|aiff|mid|wav|ewf|mp3|mp2)(-.)"' \
'streams:stream:(stdin stdout)' \
'devices:realtime device:((/dev/dsp alsa\:alsa\ device null\:null\ device))'
fi
diff --git a/Completion/Unix/Command/_figlet b/Completion/Unix/Command/_figlet
index 0a5ba0a2f..32bed4790 100644
--- a/Completion/Unix/Command/_figlet
+++ b/Completion/Unix/Command/_figlet
@@ -27,9 +27,9 @@ _arguments -s -S \
"(-L -R)-X[use default writing direction of font]" \
"(-t)-w+[specify output width]:output width (in columns)" \
"-d+[specify font directory]:font directory:_path_files -/" \
- '-f+[specify font]:font:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flf\*\(\:r\)' \
+ '-f+[specify font]:font:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flf\*\(-.\:r\)' \
'(-k -S -s -o -W)-m+[specify layout mode]:layout mode' \
- '(-N)-C+[specify control file]:control file:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flc\*\(\:r\)' \
+ '(-N)-C+[specify control file]:control file:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flc\*\(-.\:r\)' \
"(-v)-I+[display info]:info code:((
-1\:normal\ operation\ \(default\)
0\:version,\ copyright\ and\ usage\ information
diff --git a/Completion/Unix/Command/_flex b/Completion/Unix/Command/_flex
index 82e219758..7ca5b0f83 100644
--- a/Completion/Unix/Command/_flex
+++ b/Completion/Unix/Command/_flex
@@ -29,7 +29,7 @@ _arguments -C -s \
'-o-[specify output file]:output file:_files' \
'-P-[change yy prefix]:prefix string:' \
'-S-[override skeleton file]:skeleton file:_files' \
- '*:input files:_files -g \*.\(\#i\)\(f\|\)lex' && ret=0
+ '*:input files:_files -g "*.(#i)(f|)lex(-.)"' && ret=0
if [[ -n "$state" ]]; then
_values -s '' 'table compression' \
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index 6f105155d..c5287473d 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -13,7 +13,7 @@ if [[ "$service" = -value-* ]]; then
args2=()
fi
else
- args2=( '*:input file:_files -g \*.\(\[cCmisSoak\]\|cc\|cxx\|ii\|k\[ih\]\)' )
+ args2=( '*:input file:_files -g "*.([cCmisSoak]|cc|cxx|ii|k[ih])(-.)"' )
fi
args=()
@@ -179,7 +179,7 @@ esac
_arguments -C -M 'L:|-{fW}no-=-{fW} r:|[_-]=* r:|=*' \
"$args[@]" \
-c -S -E -v -a -w -C -H -P -s '(-pg)-p' '(-p)-pg' \
- '-o:output file:_files -g \^\*.\(c\|h\|cc\|C\|cxx\)' \
+ '-o:output file:_files -g "^*.(c|h|cc|C|cxx)(-.)"' \
'-x:input file language:(c objective-c c++ c-header cpp-output c++-cpp-output assembler assembler-with-cpp none)' \
'+e-:virtual function definitions in classes:((0\:only\ interface 1\:generate\ code))' \
'-d-:dump:->dump' \
@@ -202,8 +202,8 @@ _arguments -C -M 'L:|-{fW}no-=-{fW} r:|[_-]=* r:|=*' \
'-V:gcc version:' \
'-print-file-name=:library:->library' \
'-print-prog-name=:program:' \
- '*-include:include file:_files -g \*.h' \
- '*-imacros:macro input file:_files -g \*.h' \
+ '*-include:include file:_files -g \*.h\(-.\)' \
+ '*-imacros:macro input file:_files -g \*.h\(-.\)' \
'*-idirafter:second include path directory:_files -/' \
'*-iprefix:prefix:_files' \
'*-iwithprefix:second include path directory:_files -/' \
diff --git a/Completion/Unix/Command/_gdb b/Completion/Unix/Command/_gdb
index f13a897a3..48c9d654f 100644
--- a/Completion/Unix/Command/_gdb
+++ b/Completion/Unix/Command/_gdb
@@ -47,7 +47,7 @@ else
done
if [[ $#w -gt 1 ]]; then
- _alternative "files:: _files -g '*core'" "processes:: _pids -m ${w[1]:t}"
+ _alternative "files:: _files -g '*core(-.)'" "processes:: _pids -m ${w[1]:t}"
else
_description files expl executable
_files "$expl[@]" -g '*(-*)'
diff --git a/Completion/Unix/Command/_gprof b/Completion/Unix/Command/_gprof
index 1f7a0fd0e..3bb7a5765 100644
--- a/Completion/Unix/Command/_gprof
+++ b/Completion/Unix/Command/_gprof
@@ -8,8 +8,8 @@ _arguments -C -s -{a,b,c,D,h,i,l,L,s,T,v,w,x,y,z} \
'-I:directory:_dir_list' \
'-d-:debug level:' '-k:function names:->pair' \
'-m:minimum execution count:' \
- ':executable:_files -g \*\(\*\)' \
- ':profile file:_files -g gmon.\*' \
+ ':executable:_files -g \*\(-\*\)' \
+ ':profile file:_files -g gmon.\*\(-.\)' \
-- -s '((#s)--[no-] --)' \
'*=name*:function name:->funcs' \
'*=dirs*:directory:_dir_list' && ret=0
diff --git a/Completion/Unix/Command/_gzip b/Completion/Unix/Command/_gzip
index 3f5aeb1b7..5c88fac39 100644
--- a/Completion/Unix/Command/_gzip
+++ b/Completion/Unix/Command/_gzip
@@ -79,10 +79,10 @@ files)
else
if [[ -z "$decompress" ]]; then
_description files expl 'file to compress'
- _files "$expl[@]" -g '*~*.(([tT]|)[gG]|)[zZ]' && return
+ _files "$expl[@]" -g '^*.(([tT]|)[gG]|)[zZ](-.)' && return
else
_description files expl 'compressed file'
- _files "$expl[@]" -g '*.(([tT]|)[gG]|)[zZ]' && return
+ _files "$expl[@]" -g '*.(([tT]|)[gG]|)[zZ](-.)' && return
fi
fi
;;
diff --git a/Completion/Unix/Command/_imagemagick b/Completion/Unix/Command/_imagemagick
index fd9780ad7..43f3a277a 100644
--- a/Completion/Unix/Command/_imagemagick
+++ b/Completion/Unix/Command/_imagemagick
@@ -14,7 +14,7 @@ typeset -A opt_args
formats=jpg:jpeg:tiff:miff:ras:bmp:cgm:dcx:ps:eps:fig:fits:fpx:gif:mpeg:pbm:pgm:ppm:pcd:pcl:pdf:pcx:png:rad:rgb:rgba:rle:sgi:html:shtml:tga:ttf:uil:xwd:xbm:xpm:yuv
if (( $# )); then
- _files "$@" "$expl[@]" -g '*.(#i)(${~format//:/|})'
+ _files "$@" "$expl[@]" -g '*.(#i)(${~format//:/|})(-.)'
return
fi
diff --git a/Completion/Unix/Command/_ispell b/Completion/Unix/Command/_ispell
index 3eacee87f..6a3e86d42 100644
--- a/Completion/Unix/Command/_ispell
+++ b/Completion/Unix/Command/_ispell
@@ -36,17 +36,17 @@ ispell)
buildhash)
_arguments \
'(-c)-s[silent operation]' \
- '(: -s)-c[count mode]:count: :affix file:_files -g \*.\(\#i\)aff' \
+ '(: -s)-c[count mode]:count: :affix file:_files -g "*.(#i)aff(-.)"' \
':raw dictionary file:_files:' \
- ':affix file:_files -g \*.\(\#i\)aff' \
- ':hashed output file:_files \*.\(\#i\)hash'
+ ':affix file:_files -g "*.(#i)aff(-.)"' \
+ ':hashed output file:_files "*.(#i)hash(-.)"'
;;
munchlist)
_arguments -s \
- '-l[specify affix file]:affix file:_files -g \*.\(\#i\)aff' \
+ '-l[specify affix file]:affix file:_files -g "*.(#i)aff(-.)"' \
'-c[specify converted output file name]:converted file name:_files' \
'-T[specify string character type]:string character type:' \
- '-s[specify strip hash file]:hash file:_files \*.\(\#i\)hash' \
+ '-s[specify strip hash file]:hash file:_files "*.(#i)hash(-.)"' \
'-D[debug mode]' \
'-v[verbose mode]' \
'-w[specify additional word characters]:word characters:' \
@@ -76,7 +76,7 @@ tryaffix)
icombine)
_arguments \
'-T[specify string character type]:string character type:' \
- ':affix file:_files -g \*.\(\#i\)aff'
+ ':affix file:_files -g "*.(#i)aff(-.)"'
;;
ijoin)
_arguments -s \
diff --git a/Completion/Unix/Command/_java b/Completion/Unix/Command/_java
index 10f23c39d..680238ebc 100644
--- a/Completion/Unix/Command/_java
+++ b/Completion/Unix/Command/_java