about summary refs log tree commit diff
path: root/Completion/Builtins/_zpty
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_zpty')
-rw-r--r--Completion/Builtins/_zpty3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Builtins/_zpty b/Completion/Builtins/_zpty
index e766e509e..f3e271342 100644
--- a/Completion/Builtins/_zpty
+++ b/Completion/Builtins/_zpty
@@ -1,6 +1,7 @@
 #compdef zpty
 
-local state line list names expl
+local state line list names expl curcontext="$curcontext"
+typeset -A opt_args
 
 _arguments -C -s \
   '(-d -w -r -L)-e[echo input characters]' \