diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-29 08:28:17 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-29 08:28:17 +0000 |
commit | 09ac0f90df21b5a405efa5133c07a063721b9f52 (patch) | |
tree | ba92101409d61d64ff6ae033c78b9c25b55789fb /Completion/Core/_call | |
parent | e06e67f734953e68c9b4fb645f54e01aed10b2b8 (diff) | |
download | zsh-09ac0f90df21b5a405efa5133c07a063721b9f52.tar.gz zsh-09ac0f90df21b5a405efa5133c07a063721b9f52.tar.xz zsh-09ac0f90df21b5a405efa5133c07a063721b9f52.zip |
zsh-workers/9920
Diffstat (limited to 'Completion/Core/_call')
-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 |