Compare commits

...

2 Commits

Author SHA1 Message Date
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 ))
}