Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Update kvno completion
- X-seq: zsh-workers 41087
- From: Marko Myllynen <myllynen@xxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: [PATCH] Update kvno completion
- Date: Wed, 10 May 2017 10:59:28 +0300
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Red Hat
- Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
Hi,
Update kvno completion to match MIT Krb 1.14.
---
Completion/Unix/Command/_kvno | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Completion/Unix/Command/_kvno b/Completion/Unix/Command/_kvno
index 782d9e6..9664e18 100644
--- a/Completion/Unix/Command/_kvno
+++ b/Completion/Unix/Command/_kvno
@@ -3,15 +3,17 @@
local curcontext="$curcontext" state line ret=1
_arguments -C \
- '(-4)-c[specify credentials cache to use]:cache:_files' \
- '(-4)-e[specify encryption type]:encryption type' \
+ '-c[specify credentials cache to use]:cache:_files' \
+ '-e[specify encryption type]:encryption type' \
'-q[suppress printing]' \
'(- :)-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
if [[ $state = principal ]]; then
- if compset -P host/; then
+ if compset -P '*/'; then
_hosts && ret=0
else
_alternative \
Thanks,
--
Marko Myllynen
Messages sorted by:
Reverse Date,
Date,
Thread,
Author