about summary refs log tree commit diff
path: root/Completion/Core/_call
blob: 345dae50d31e95dd80d136970fb83d8d8c5e0db6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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