about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-08-10 21:12:03 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-08-10 21:12:03 +0000
commit5b04efd73cba5e3ebf0e919e68ba7f2baae4734e (patch)
treeeb971bc9ca6c8ecb553e542abf9d0196dcbf055d /Completion/Base
parent432c0af097470b5276ebd1cce325a662697a3a24 (diff)
downloadzsh-5b04efd73cba5e3ebf0e919e68ba7f2baae4734e.tar.gz
zsh-5b04efd73cba5e3ebf0e919e68ba7f2baae4734e.tar.xz
zsh-5b04efd73cba5e3ebf0e919e68ba7f2baae4734e.zip
add -g option to _parameters to restrict type of parameters completed (12583)
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_math2
1 files changed, 1 insertions, 1 deletions
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)*'