mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 15:21:16 +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'/ \
|
||||
\( \
|
||||
/$'[^\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)"}% *}' \
|
||||
\) \# \| \
|
||||
/$'dump\0'/ \| \
|
||||
|
|
|
@ -4,10 +4,10 @@ local state line
|
|||
typeset -A opt_args
|
||||
|
||||
_arguments -s \
|
||||
'-D[debug level]' \
|
||||
'-D+[debug level]:debug level:' \
|
||||
'-v[print version]' \
|
||||
'-V[verbose mode]' \
|
||||
'-O[specifies offset]:offset:' \
|
||||
'-O+[specifies offset]:offset:' \
|
||||
'-a[list matches as Alex filenames]' \
|
||||
'-c[case sensitive substring search]' \
|
||||
'-e[exact string match (default)]' \
|
||||
|
@ -15,9 +15,9 @@ _arguments -s \
|
|||
'-s[case insensitive substring search]' \
|
||||
'-l[list one match per line]' \
|
||||
'-t[sort inverted by date]' \
|
||||
'-m[specifies maximum number of hits to return (default 95)]:hits to return:' \
|
||||
'-o[specifies file to store results in]:file to store:' \
|
||||
'-h[specifies server host]:server host:->serverhost' \
|
||||
'-m+[specifies maximum number of hits to return (default 95)]:hits to return:' \
|
||||
'-o+[specifies file to store results in]:file to store:' \
|
||||
'-h+[specifies server host]:server host:->serverhost' \
|
||||
'-L[list known servers and current default]' \
|
||||
'-N-[specifies query niceness level (0-35765)]:niceness level:' \
|
||||
':string:'
|
||||
|
|
Loading…
Reference in a new issue