summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_sh
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_sh')
-rw-r--r--Completion/Unix/Command/_sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_sh b/Completion/Unix/Command/_sh
index 104c7576c..21ebfc3b2 100644
--- a/Completion/Unix/Command/_sh
+++ b/Completion/Unix/Command/_sh
@@ -10,8 +10,7 @@ if [[ $service == zsh ]]; then
fi
if (( CURRENT == ${words[(i)-c]} + 1 )); then
- compset -q
- _normal
+ _cmdstring
else
local n=${words[(b:2:i)[^-]*]}
if (( n <= CURRENT )); then