diff options
Diffstat (limited to 'Completion/Zsh/Type/_user_math_func')
-rw-r--r-- | Completion/Zsh/Type/_user_math_func | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Zsh/Type/_user_math_func b/Completion/Zsh/Type/_user_math_func new file mode 100644 index 000000000..16774f70b --- /dev/null +++ b/Completion/Zsh/Type/_user_math_func @@ -0,0 +1,9 @@ +#autoload + +local expl +local -a funcs + +funcs=(${${${(f)"$(functions -M)"}##functions -M }%% *}) + +_wanted user-math-functions expl 'user math function' \ + compadd -S '(' "$@" -a funcs |