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:17 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-07-19 14:26:17 +0000
commit347fab44e07c07caad63d3a9f2a0137df9cc0615 (patch)
tree9cbc5873676f8ca5e8e8bf24a97e7f65968196e8 /Completion/User/_sh
parent59c3d242d546059cad473f1155ad0e350fe45260 (diff)
downloadzsh-347fab44e07c07caad63d3a9f2a0137df9cc0615.tar.gz
zsh-347fab44e07c07caad63d3a9f2a0137df9cc0615.tar.xz
zsh-347fab44e07c07caad63d3a9f2a0137df9cc0615.zip
Initial revision
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