about summary refs log tree commit diff
path: root/Completion/User/_sudo
blob: 71b5466800ca284fffc6adbfe3949929d164b34c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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]' \
       ':complete command name: _command_names -e'  \
       '*::arguments: _normal'