diff options
author | Oliver Kiddle <opk@zsh.org> | 2018-01-23 11:01:55 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2018-01-23 11:03:00 +0100 |
commit | 47430bcd7cb2fade4d8753d920a2720eeca52f6a (patch) | |
tree | 98377cd51b72bbd0efe9406fd9e3aeab46c2ebae /Completion/Unix/Command/_sudo | |
parent | aabf978fce356e7efa91202dc72e37e6e2ece65e (diff) | |
download | zsh-47430bcd7cb2fade4d8753d920a2720eeca52f6a.tar.gz zsh-47430bcd7cb2fade4d8753d920a2720eeca52f6a.tar.xz zsh-47430bcd7cb2fade4d8753d920a2720eeca52f6a.zip |
42317: completion option updates for commands that have had recent updates
Diffstat (limited to 'Completion/Unix/Command/_sudo')
-rw-r--r-- | Completion/Unix/Command/_sudo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sudo b/Completion/Unix/Command/_sudo index ec293d469..10fa2e82e 100644 --- a/Completion/Unix/Command/_sudo +++ b/Completion/Unix/Command/_sudo @@ -47,7 +47,8 @@ else '(-s --shell)'{-s,--shell}'[run shell as the target user; a command may also be specified]' \ '(-i --login)'{-i,--login}'[run login shell as the target user; a command may also be specified]' \ '(-b --background -i --login -s --shell -e --edit)'{-b,--background}'[run command in the background]' \ - '(-E --preserve-env -i --login -s --shell -e --edit)'{-E,--preserve-env}'[preserve user environment when running command]' \ + '(--preserve-env -i --login -s --shell -e --edit)-E[preserve user environment when running command]' \ + '(-E -i --login -s --shell -e --edit)--preserve-env=-[preserve user environment when running command]::environment variable:_sequence _parameters -g "*export*"' \ '(-H --set-home -i --login -s --shell -e --edit)'{-H,--set-home}"[set HOME variable to target user's home dir]" \ '(-P --preserve-groups -i -login -s --shell -e --edit)'{-P,--preserve-groups}"[preserve group vector instead of setting to target's]" \ '(-)1:command: _command_names -e' |