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/_sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sh b/Completion/Unix/Command/_sh
index 9e72a2918..7258e4260 100644
--- a/Completion/Unix/Command/_sh
+++ b/Completion/Unix/Command/_sh
@@ -5,7 +5,10 @@ if [[ $service == zsh ]]; then
if [[ ${words[CURRENT-1]} == -o ]]; then
_options
# no other possibilities
- return
+ return 0
+ fi
+ if _arguments -S -s -- '*:'; then
+ return 0
fi
fi