summary refs log tree commit diff
path: root/Completion/Zsh/Type/_module_math_func
blob: 6be9c006a1273f6786dce6497b1f210da3f8bb35 (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 '(' -q "$@" -a funcs