Merge pull request #1248 from zsh-users/cache-expiration-date

Fix cache expiration according to comment
This commit is contained in:
Shohei YOSHIDA authored and GitHub committed 2026-03-26 11:26:39 +09:00
commit b1ffb771c9
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ _gist() {
_gist_cache_policy() {
# rebuild if cache is more than a day old
local -a oldp
oldp=( "$1"(mh+1) )
oldp=( "$1"(m+1) )
(( $#oldp ))
}