summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:03:33 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:03:33 +0000
commit324be321e16f0125ec99324499d5a761b16a5db2 (patch)
treebe05fb01d216c135ea1d71f5a906373ce030b180 /Completion/Unix/Command
parent7f8ee99680bb828ad03b8c6a1daf97734a5001ba (diff)
downloadzsh-324be321e16f0125ec99324499d5a761b16a5db2.tar.gz
zsh-324be321e16f0125ec99324499d5a761b16a5db2.tar.xz
zsh-324be321e16f0125ec99324499d5a761b16a5db2.zip
moved from Completion/User/_sudo
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_sudo19
1 files changed, 19 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_sudo b/Completion/Unix/Command/_sudo
new file mode 100644
index 000000000..2b5a5cb7d
--- /dev/null
+++ b/Completion/Unix/Command/_sudo
@@ -0,0 +1,19 @@
+#compdef sudo
+
+_arguments \
+       '-V[show version]' \
+       '-l[list allowed commands]' \
+       '-L[list options from Default section]' \
+       '-h[show help]' \
+       '-v[validate user timestamp]' \
+       '-k[invalidate user timestamp]' \
+       '-K[remove user timestamp]' \
+       '-b[run command in background]' \
+       '-r[Kerberos realm]:Kerberos realm:' \
+       '-p[password prompt]:password prompt:' \
+       '-u[user name]:user name:_users' \
+       '-s[run SHELL]' \
+       '-H[set HOME environment variable]' \
+       '-S[read password from stdin]' \
+       '(-):command name: _command_names -e'  \
+       '*::arguments: _normal'