summary refs log tree commit diff
path: root/Completion/Commands/_bash_completions
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/Commands/_bash_completions
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/Commands/_bash_completions')
-rw-r--r--Completion/Commands/_bash_completions2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Commands/_bash_completions b/Completion/Commands/_bash_completions
index 3c19358b7..dd6998971 100644
--- a/Completion/Commands/_bash_completions
+++ b/Completion/Commands/_bash_completions
@@ -34,7 +34,7 @@ case $key in
   '!') _main_complete _command_names
        ;;
   '$') _main_complete - parameters _wanted parameters expl 'exported parameters' \
-                                       compadd -k 'parameters[(R)*export*]'
+                                       _parameters -g '*export*'
        ;;
   '@') _main_complete _hosts
        ;;