about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/User/_sudo25
1 files changed, 13 insertions, 12 deletions
diff --git a/Completion/User/_sudo b/Completion/User/_sudo
index cfa8172fb..d8355f725 100644
--- a/Completion/User/_sudo
+++ b/Completion/User/_sudo
@@ -1,15 +1,16 @@
 #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'
+       '-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]' \
+       ':complete command name: _command_names -e'  \
+       '*::arguments: _normal'