about summary refs log tree commit diff
path: root/Completion/Zsh/Type/_module_math_func
blob: 4df8d97149066916e703cf14c3ec325ab7c0d577 (plain) (blame)
1
2
3
4
5
6
7
8
9
#autoload

local expl
local -a funcs

funcs=(${${${(f)"$(zmodload -Fl zsh/mathfunc 2>/dev/null)"}:#^+f:*}##+f:})

_wanted module-math-functions expl 'math function from zsh/mathfunc' \
    compadd -S '(' "$@" -a funcs