diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-29 08:28:18 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-29 08:28:18 +0000 |
commit | ee58f92362fb7fad88921db542039b29b1b75b66 (patch) | |
tree | 3d00e93aca9100fbeba389affeeb40a8acdbbb35 | |
parent | a0402f795ddb5025036612fa5f70efa8e976e42c (diff) | |
download | zsh-ee58f92362fb7fad88921db542039b29b1b75b66.tar.gz zsh-ee58f92362fb7fad88921db542039b29b1b75b66.tar.xz zsh-ee58f92362fb7fad88921db542039b29b1b75b66.zip |
Initial revision
-rw-r--r-- | Completion/Core/_call | 13 |
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 |