summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-04-30 20:38:53 +0200
committerOliver Kiddle <opk@zsh.org>2026-04-30 20:50:11 +0200
commit9f366002d458592fb2ae1780814580eb96a6ec68 (patch)
treeffea7f011b5cc398699da2de12f06d1386d1e2b5 /Completion/Unix/Command
parent54404: skip the RGB terminal query on older versions of the Apple terminal (diff)
downloadzsh-9f366002d458592fb2ae1780814580eb96a6ec68.tar
zsh-9f366002d458592fb2ae1780814580eb96a6ec68.tar.gz
zsh-9f366002d458592fb2ae1780814580eb96a6ec68.tar.bz2
zsh-9f366002d458592fb2ae1780814580eb96a6ec68.tar.lz
zsh-9f366002d458592fb2ae1780814580eb96a6ec68.tar.xz
zsh-9f366002d458592fb2ae1780814580eb96a6ec68.tar.zst
zsh-9f366002d458592fb2ae1780814580eb96a6ec68.zip
unposted: fix for approximate completion/correction after sudo
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_sudo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sudo b/Completion/Unix/Command/_sudo
index c334c6765..18da0f79e 100644
--- a/Completion/Unix/Command/_sudo
+++ b/Completion/Unix/Command/_sudo
@@ -85,7 +85,7 @@ if [[ $state = normal ]]; then
'options:option:(-s --shell -l --login)' \
'parameters: :_parameters -g "*export*~*readonly*" -qS=' && ret=0
else
- _normal
+ _normal && ret=0
fi
fi