diff options
| author | Igor Murzov <e-mail@date.by> | 2011-12-20 20:33:31 +0400 |
|---|---|---|
| committer | Igor Murzov <e-mail@date.by> | 2011-12-20 20:33:31 +0400 |
| commit | 6621f37c5dc2cf59ba2c34ee038f5699418e643e (patch) | |
| tree | 01eb29faa0296c4bc6588ce407fe62b65447e750 /completions | |
| parent | 91a61afe59eeca58736e55745ae76ad6641a6a12 (diff) | |
| download | bash-completion-6621f37c5dc2cf59ba2c34ee038f5699418e643e.tar.gz | |
sudo: Fix option list parsing
Diffstat (limited to 'completions')
| -rw-r--r-- | completions/sudo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/sudo b/completions/sudo index 621e59fd..53fa75aa 100644 --- a/completions/sudo +++ b/completions/sudo @@ -13,11 +13,11 @@ _sudo() _command_offset $i return fi - [[ ${COMP_WORDS[i]} == -@(u|U|g|C|p) ]] && ((i++)) if [[ ${COMP_WORDS[i]} == -e ]]; then mode=edit break fi + [[ ${COMP_WORDS[i]} == -@(u|U|g|C|p) ]] && ((i++)) done case "$prev" in |
