Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Bug: Missing local decl in _store_cache



Hello

The Completion/Base/Utility/_store_cache function is missing the local declaration for _cache_dir.  Thus it is global.  I do not see any reason for it to be global seeing that it's value is coming from zstyle in the function body.

Because _cache_dir is global, it is overwriting my named ~directory for the compsys compcache directory.

I believe line 5 should be changed to:
local _cache_ident _cache_ident_dir _cache_dir

Thanks
Jacob


Messages sorted by: Reverse Date, Date, Thread, Author