mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 06:51:03 +02:00
zsh-workers/8485
This commit is contained in:
parent
54c500a3f8
commit
80406f38b0
2 changed files with 6 additions and 6 deletions
|
@ -473,7 +473,7 @@ _apt-config () {
|
||||||
-- \
|
-- \
|
||||||
/$'shell\0'/ \
|
/$'shell\0'/ \
|
||||||
\( \
|
\( \
|
||||||
/$'[^\0]#\0'/ :'compadd "$expl_shell_var[@]" - "${(@k)parameters}' \
|
/$'[^\0]#\0'/ :'compadd "$expl_shell_var[@]" - "${(@k)parameters}"' \
|
||||||
/$'[^\0]#\0'/ :'compadd "$expl_config_key[@]" - ${${(f)"$(apt-config dump 2>&1)"}% *}' \
|
/$'[^\0]#\0'/ :'compadd "$expl_config_key[@]" - ${${(f)"$(apt-config dump 2>&1)"}% *}' \
|
||||||
\) \# \| \
|
\) \# \| \
|
||||||
/$'dump\0'/ \| \
|
/$'dump\0'/ \| \
|
||||||
|
|
|
@ -4,10 +4,10 @@ local state line
|
||||||
typeset -A opt_args
|
typeset -A opt_args
|
||||||
|
|
||||||
_arguments -s \
|
_arguments -s \
|
||||||
'-D[debug level]' \
|
'-D+[debug level]:debug level:' \
|
||||||
'-v[print version]' \
|
'-v[print version]' \
|
||||||
'-V[verbose mode]' \
|
'-V[verbose mode]' \
|
||||||
'-O[specifies offset]:offset:' \
|
'-O+[specifies offset]:offset:' \
|
||||||
'-a[list matches as Alex filenames]' \
|
'-a[list matches as Alex filenames]' \
|
||||||
'-c[case sensitive substring search]' \
|
'-c[case sensitive substring search]' \
|
||||||
'-e[exact string match (default)]' \
|
'-e[exact string match (default)]' \
|
||||||
|
@ -15,9 +15,9 @@ _arguments -s \
|
||||||
'-s[case insensitive substring search]' \
|
'-s[case insensitive substring search]' \
|
||||||
'-l[list one match per line]' \
|
'-l[list one match per line]' \
|
||||||
'-t[sort inverted by date]' \
|
'-t[sort inverted by date]' \
|
||||||
'-m[specifies maximum number of hits to return (default 95)]:hits to return:' \
|
'-m+[specifies maximum number of hits to return (default 95)]:hits to return:' \
|
||||||
'-o[specifies file to store results in]:file to store:' \
|
'-o+[specifies file to store results in]:file to store:' \
|
||||||
'-h[specifies server host]:server host:->serverhost' \
|
'-h+[specifies server host]:server host:->serverhost' \
|
||||||
'-L[list known servers and current default]' \
|
'-L[list known servers and current default]' \
|
||||||
'-N-[specifies query niceness level (0-35765)]:niceness level:' \
|
'-N-[specifies query niceness level (0-35765)]:niceness level:' \
|
||||||
':string:'
|
':string:'
|
||||||
|
|
Loading…
Reference in a new issue