From 146374a2af8cbc7674374b44ef6c963ee008e8a2 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 17 Mar 2013 20:53:44 +0000 Subject: improved math context completion: functions --- Completion/Zsh/Context/_math | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Completion/Zsh/Context/_math') diff --git a/Completion/Zsh/Context/_math b/Completion/Zsh/Context/_math index 278189ebe..f82f1c0fb 100644 --- a/Completion/Zsh/Context/_math +++ b/Completion/Zsh/Context/_math @@ -9,4 +9,6 @@ if [[ "$SUFFIX" = *[^a-zA-Z0-9_]* ]]; then SUFFIX="${SUFFIX%%[^a-zA-Z0-9_]*}" fi -_parameters -g '(integer|float)*' || _parameters +_alternative 'math-parameters:math parameter: _math_params' \ + 'user-math-functions:user math function: _user_math_func' \ + 'module-math-functions:math function from zsh/mathfunc: _module_math_func' -- cgit 1.4.1