about summary refs log tree commit diff
path: root/Completion/compinit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/compinit')
-rw-r--r--Completion/compinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/compinit b/Completion/compinit
index 1e4b7acef..d85ff072e 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -440,7 +440,7 @@ Ignore insecure $_i_q and continue [y] or abort compinit [n]? "; then
         (( $#_i_wdirs ))  && _i_files=( "${(@)_i_files:#(${(j:|:)_i_wdirs%.zwc})/*}" )
       fi
     fi
-    _comp_secure=yes
+    typeset -g _comp_secure=yes
   fi
 fi