about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Completion/Base/_math2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 920ebd789..2cd4edfa5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-08-10  Oliver Kiddle  <opk@zsh.org>
+
+	* 12583: Completion/Base/_math, Completion/Builtins/_arrays,
+	Completion/Builtins/_vars, Completion/Builtins/_zpty,
+	Completion/Commands/_bash_completions, Completion/Core/_parameters,
+	Doc/Zsh/compsys.yo: add -g option to _parameters to restrict the
+	type of parameters completed
+
 2000-08-10  Peter Stephenson  <pws@csr.com>
 
 	* 12582: Misc/Functions/is-at-least: make it accept name
diff --git a/Completion/Base/_math b/Completion/Base/_math
index 9af9e0d7e..61c991e3c 100644
--- a/Completion/Base/_math
+++ b/Completion/Base/_math
@@ -9,4 +9,4 @@ if [[ "$SUFFIX" = *[^a-zA-Z0-9_]* ]]; then
   SUFFIX="${SUFFIX%%[^a-zA-Z0-9_]*}"
 fi
 
-_parameters
+_parameters -g '(integer|float)*'