about summary refs log tree commit diff
path: root/Completion/Core/_call
blob: 602e513ffc7ae0ccd8f78ab14e9d4eaec5139694 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#autoload +X

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

return $?