aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2026-03-25 23:28:17 +0900
committerShohei YOSHIDA <syohex@gmail.com>2026-03-25 23:28:17 +0900
commit77ec5ecd6b70bbd2a84f07c5345c180acb5a107a (patch)
tree7b9d91a9a18caae774b77d12b69f4a5661668714
parentMerge pull request #1241 from zsh-users/fix_cmake_help_completion (diff)
downloadzsh-completions-cache-expiration-date.tar
zsh-completions-cache-expiration-date.tar.gz
zsh-completions-cache-expiration-date.tar.bz2
zsh-completions-cache-expiration-date.tar.lz
zsh-completions-cache-expiration-date.tar.xz
zsh-completions-cache-expiration-date.tar.zst
zsh-completions-cache-expiration-date.zip
Fix cache expiration according to commentcache-expiration-date
'mh+1' means 1 hour
-rw-r--r--src/_gist2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_gist b/src/_gist
index 01e4ec2..9a8d48e 100644
--- a/src/_gist
+++ b/src/_gist
@@ -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 ))
}