about summary refs log tree commit diff
path: root/Completion/User/_sh
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_sh')
-rw-r--r--Completion/User/_sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/User/_sh b/Completion/User/_sh
new file mode 100644
index 000000000..ea0fcfc11
--- /dev/null
+++ b/Completion/User/_sh
@@ -0,0 +1,8 @@
+#compdef sh ksh bash zsh csh tcsh rc
+
+if (( CURRENT == ${words[(i)-c]} + 1 )); then
+  compset -q
+  _normal
+else
+  _default
+fi