mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-07 23:51:14 +02:00
41087: Update kvno completion to MIT krb 1.14
This commit is contained in:
parent
eacb87988e
commit
dd672b79ce
2 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
2017-05-22 Peter Stephenson <p.stephenson@samsung.com>
|
2017-05-22 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
|
* Marko Myllenen: 41087: Completion/Unix/Command/_kvno: Update
|
||||||
|
completion to MIT krb 1.14.
|
||||||
|
|
||||||
* Marko Myllenen: 41086: Completion/Unix/Command/_libvirt:
|
* Marko Myllenen: 41086: Completion/Unix/Command/_libvirt:
|
||||||
update completion.
|
update completion.
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,17 @@
|
||||||
local curcontext="$curcontext" state line ret=1
|
local curcontext="$curcontext" state line ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(-4)-c[specify credentials cache to use]:cache:_files' \
|
'-c[specify credentials cache to use]:cache:_files' \
|
||||||
'(-4)-e[specify encryption type]:encryption type' \
|
'-e[specify encryption type]:encryption type' \
|
||||||
'-q[suppress printing]' \
|
'-q[suppress printing]' \
|
||||||
'(- :)-h[display help information]' \
|
'(- :)-h[display help information]' \
|
||||||
'(-c -e)-4[kerberos 4 tickets]' \
|
'-P[acquire credentials for the principal during S4U2Self]' \
|
||||||
|
'-S[specify the service name of the principal]:service' \
|
||||||
|
'-U[specify user for S4U2Self]:user:_users' \
|
||||||
':principal:->principal' && ret=0
|
':principal:->principal' && ret=0
|
||||||
|
|
||||||
if [[ $state = principal ]]; then
|
if [[ $state = principal ]]; then
|
||||||
if compset -P host/; then
|
if compset -P '*/'; then
|
||||||
_hosts && ret=0
|
_hosts && ret=0
|
||||||
else
|
else
|
||||||
_alternative \
|
_alternative \
|
||||||
|
|
Loading…
Reference in a new issue