about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-04 03:25:51 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-04 03:25:51 +0000
commit054de89381fcb6e4775dfccf01cf43a1bbf526ad (patch)
tree56d1f8dff8d08d4a93176bdaaf55c34e796f57fb /Completion
parent412bceef2a432d22d7ceda19174b1cb8424169a3 (diff)
downloadzsh-054de89381fcb6e4775dfccf01cf43a1bbf526ad.tar.gz
zsh-054de89381fcb6e4775dfccf01cf43a1bbf526ad.tar.xz
zsh-054de89381fcb6e4775dfccf01cf43a1bbf526ad.zip
Initial revision
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_sudo15
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/User/_sudo b/Completion/User/_sudo
new file mode 100644
index 000000000..cfa8172fb
--- /dev/null
+++ b/Completion/User/_sudo
@@ -0,0 +1,15 @@
+#compdef sudo
+
+_arguments \
+        '-V[show version]' \
+        '-l[list commands]' \
+        '-h[show help]' \
+        '-v[validate timestamp file]' \
+        '-k[remove timestamp file]' \
+        '-b[run command in background]' \
+        '-r:Kerberos realm:' \
+        '-p:prompt:' \
+        '-u:user name:_users' \
+        '-s[run SHELL]' \
+        '-H[set HOME environment variable]' \
+        '*::command and arguments:_normal'