about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
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'