about summary refs log tree commit diff
path: root/Completion/Builtins/_zpty
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/_zpty
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/_zpty')
-rw-r--r--Completion/Builtins/_zpty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_zpty b/Completion/Builtins/_zpty
index f1de3d11d..b7e355149 100644
--- a/Completion/Builtins/_zpty
+++ b/Completion/Builtins/_zpty
@@ -10,7 +10,7 @@ _arguments -C -s \
   '(-r -w -L -e -b)-d[delete command]:*:name:->name' \
   '(-r -L -e -b -d)-w[send string to command]:name:->name:*:strings to write' \
   '(: -r -w -e -b -d)-L[list defined commands as calls]' \
-  '(: -w -L -e -b -d)-r[read string from command]:name:->name:param: _parameters:pattern:' \
+  '(: -w -L -e -b -d)-r[read string from command]:name:->name:param: _vars:pattern:' \
   '(-r -w -L -d):zpty command name:' \
   '(-r -w -L -d):cmd: _command_names -e' \
   '(-r -w -L -d)*::args:_precommand' && return 0
@@ -21,7 +21,7 @@ _arguments -C -s \
 #   - read \
 #     '-r[read string from command]' \
 #     ':name:->name' \
-#     ':param: _parameters' \
+#     ':param: _vars' \
 #     ':pattern:' \
 #   - write \
 #     '-w[send string to command]' \