about summary refs log tree commit diff
path: root/Completion/User/_sh
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-07-19 14:26:14 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-07-19 14:26:14 +0000
commitd6d4a3abfc84f0940e663cd69537789a039a7056 (patch)
tree5f5f40ae248c17c34fccbcadef85dddd4136b781 /Completion/User/_sh
parent1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1 (diff)
downloadzsh-3.1.6-test-2.tar.gz
zsh-3.1.6-test-2.tar.xz
zsh-3.1.6-test-2.zip
zsh-3.1.6-test-2 zsh-3.1.6-test-2
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