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

Re: caching mechanism and Re: PATCH Completion for _yum



2016/12/15 00:03, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:

> "Jun T." wrote:
>> 
>> If _cache_invalid returns 0, then _retrieve_cache should return 1
>> (we can't retrieve from an invalid cache, unless another zsh has
> 
> _cache_invalid returning 0 implies that the cache has been deemed stale
> not that it is invalid. So _retrieve_cache will happily use it and
> return 0.

_retrieve_cache, line 21:

    _cache_invalid "$_cache_ident" && return 1



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