about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-29 08:28:18 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-29 08:28:18 +0000
commitee58f92362fb7fad88921db542039b29b1b75b66 (patch)
tree3d00e93aca9100fbeba389affeeb40a8acdbbb35 /Completion
parenta0402f795ddb5025036612fa5f70efa8e976e42c (diff)
downloadzsh-ee58f92362fb7fad88921db542039b29b1b75b66.tar.gz
zsh-ee58f92362fb7fad88921db542039b29b1b75b66.tar.xz
zsh-ee58f92362fb7fad88921db542039b29b1b75b66.zip
Initial revision
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_call13
1 files changed, 13 insertions, 0 deletions
diff --git a/Completion/Core/_call b/Completion/Core/_call
new file mode 100644
index 000000000..345dae50d
--- /dev/null
+++ b/Completion/Core/_call
@@ -0,0 +1,13 @@
+#autoload
+
+local tmp
+
+if zstyle -s ":completion:${curcontext}:${1}" command tmp; then
+  if [[ "$tmp" = -* ]]; then
+    eval "$tmp[2,-1]" "$argv[2,-1]"
+  else
+    eval "$tmp"
+  fi
+else
+  eval "$argv[2,-1]"
+fi