about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_enable
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_enable')
-rw-r--r--Completion/Zsh/Command/_enable2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_enable b/Completion/Zsh/Command/_enable
index 380e3ba5d..c5f8b2c43 100644
--- a/Completion/Zsh/Command/_enable
+++ b/Completion/Zsh/Command/_enable
@@ -3,6 +3,6 @@
 _arguments -C -s -A "-*" -S \
   "(-f -r)-a[act on aliases]:*:aliases:(${(k)dis_aliases})" \
   "(-a -r)-f[act on functions]:*:functions:(${(k)dis_functions})" \
-  "(-a -f)-r[act on reserved words]:*:reserved-words:(${(k)dis_reswords})" \
+  "(-a -f)-r[act on reserved words]:*:reserved-words:compadd -k dis_reswords" \
   '-m[treat arguments as patterns]' \
   "*:builtin command:(${(k)dis_builtins})"