1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
zsh/Completion/Core/_call

14 lines
211 B
Plaintext
Raw Normal View History

2000-04-01 22:43:43 +02:00
#autoload +X
2000-02-29 09:28:18 +01:00
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