about summary refs log tree commit diff
path: root/Completion/Builtins/_zstyle
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_zstyle')
-rw-r--r--Completion/Builtins/_zstyle5
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Builtins/_zstyle b/Completion/Builtins/_zstyle
index 207e37bce..db499aa17 100644
--- a/Completion/Builtins/_zstyle
+++ b/Completion/Builtins/_zstyle
@@ -1,7 +1,8 @@
 #compdef zstyle
 
-local curcontext="$curcontext" state ostate line expl ctop
-local nm=$compstat[nmatches]
+local curcontext="$curcontext" state context ostate line expl ctop
+local nm=$compstate[nmatches]
+typeset -A opt_args
 
 typeset -A styles
 # Assoc array of styles; the values give the possible top-level