2494f1c5fd64aba6da5faecc71f27cdc64e10436 blob 723 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| | #compdef doas
local environ e cmd cpp
local -a _comp_priv_prefix
local -A opt_args
zstyle -a ":completion:${curcontext}:" environ environ
for e in "${environ[@]}"
do local -x "$e"
done
cmd="$words[1]"
cpp='_comp_priv_prefix=( $cmd -n ${(kv)opt_args[(I)-u]} )'
_arguments -s -S -A '-*' : \
'(: * -)-L[clear any persisted authorizations]' \
'(-L)-a+[specify authentication style]:authentication style' \
'(-L -n -s)-C+[check config file and report on command matching]:config:_files' \
'(-C -L)-n[non-interactive: fail rather than prompt for a password]' \
'(-C -L *)-s[run a shell]' \
'(-L)-u+[run command as specified user]:user:_users' \
"(-)1: :{ $cpp; _command_names -e }" \
"*:: :{ $cpp; _normal }"
|
debug log:
solving 2494f1c5f ...
found 2494f1c5f in https://inbox.vuxu.org/zsh-workers/B8D456C0-2CFE-4B8E-BFA6-F227FB662A0E@dana.is/
found 94395557c in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 94395557cdd4f22a4e563a14e0e558c73e05f3a1 Completion/Unix/Command/_doas
applying [1/1] https://inbox.vuxu.org/zsh-workers/B8D456C0-2CFE-4B8E-BFA6-F227FB662A0E@dana.is/
diff --git a/Completion/Unix/Command/_doas b/Completion/Unix/Command/_doas
index 94395557c..2494f1c5f 100644
Checking patch Completion/Unix/Command/_doas...
Applied patch Completion/Unix/Command/_doas cleanly.
index at:
100644 2494f1c5fd64aba6da5faecc71f27cdc64e10436 Completion/Unix/Command/_doas
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).