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/_sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/Completion/Unix/Command/_sh b/Completion/Unix/Command/_sh
index 21ebfc3b2..2afb46621 100644
--- a/Completion/Unix/Command/_sh
+++ b/Completion/Unix/Command/_sh
@@ -1,13 +1,4 @@
-#compdef sh ksh bash zsh csh tcsh rc
-
-if [[ $service == zsh ]]; then
- # try a bit harder
- if [[ ${words[CURRENT-1]} == -o ]]; then
- _options
- # no other possibilities
- return
- fi
-fi
+#compdef sh ksh bash csh tcsh rc
if (( CURRENT == ${words[(i)-c]} + 1 )); then
_cmdstring
@@ -21,9 +12,3 @@ else
fi
_default
fi
-
-local ret=$?
-
-[[ $service == zsh ]] && _arguments -S -s -- '*:' && ret=0
-
-return ret