Compare commits

..

3 Commits

Author SHA1 Message Date
Shohei YOSHIDA be2bf362a7
Merge 118705c01a into b1ffb771c9 2026-03-26 13:32:59 +09:00
Shohei YOSHIDA b1ffb771c9
Merge pull request #1248 from zsh-users/cache-expiration-date
Fix cache expiration according to comment
2026-03-26 11:26:39 +09:00
Shohei YOSHIDA 77ec5ecd6b
Fix cache expiration according to comment
'mh+1' means 1 hour
2026-03-25 23:28:17 +09:00
1 changed files with 1 additions and 1 deletions

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 ))
}