From 09ac0f90df21b5a405efa5133c07a063721b9f52 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 29 Feb 2000 08:28:17 +0000 Subject: zsh-workers/9920 --- Completion/Core/_call | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Completion/Core/_call (limited to 'Completion/Core/_call') 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 -- cgit 1.4.1