commit 9c4bc500d9ebd5b8f28050add40067b29702962c parent f4633cc6869e994b64a8180846aae1957e229d74 Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Tue, 15 Mar 2016 14:17:14 +0100 declare globals properly Diffstat:
| M | zsh-functions/confz_fileset_init | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zsh-functions/confz_fileset_init b/zsh-functions/confz_fileset_init @@ -19,8 +19,8 @@ fileset_ftypes=( # convert hex type to a word 1 p # FIFO pipe ) -global -A fileset_stat_cache -global fileset_stat_cur fileset_stat_next_id fileset_stat_cur_type fileset_stat_cur_perm +typeset -g -A fileset_stat_cache +typeset -g fileset_stat_cur fileset_stat_next_id fileset_stat_cur_type fileset_stat_cur_perm fileset_reset_cache(){ # omit unsetting used variables for now