about summary refs log tree commit diff
path: root/Completion/Builtins/_arrays
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-08-10 21:22:25 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-08-10 21:22:25 +0000
commit5851a32681f5fbdbc55987cb117f891e3745f13c (patch)
tree1dfb2778e27187407068f0846f139b3f827a7391 /Completion/Builtins/_arrays
parent5b04efd73cba5e3ebf0e919e68ba7f2baae4734e (diff)
downloadzsh-5851a32681f5fbdbc55987cb117f891e3745f13c.tar.gz
zsh-5851a32681f5fbdbc55987cb117f891e3745f13c.tar.xz
zsh-5851a32681f5fbdbc55987cb117f891e3745f13c.zip
add -g option to _parameters to restrict type of parameters completed (12583)
Diffstat (limited to 'Completion/Builtins/_arrays')
-rw-r--r--Completion/Builtins/_arrays2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_arrays b/Completion/Builtins/_arrays
index 5ab6d41f0..c28fb179e 100644
--- a/Completion/Builtins/_arrays
+++ b/Completion/Builtins/_arrays
@@ -2,4 +2,4 @@
 
 local expl
 
-_wanted arrays expl array compadd -k "parameters[(R)*array*~*local*]"
+_wanted arrays expl array _parameters "$@" -g '*array*'