From f9bc36db5838db3abd0b354f13d87aee3f0af6e1 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Tue, 17 Dec 2024 08:33:37 +0900 Subject: [PATCH] fix(wsl/home/.config/mise/config.toml): use cache for exec templates --- wsl/home/.config/mise/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wsl/home/.config/mise/config.toml b/wsl/home/.config/mise/config.toml index 1cdd805c..d5142d67 100644 --- a/wsl/home/.config/mise/config.toml +++ b/wsl/home/.config/mise/config.toml @@ -7,9 +7,9 @@ min_version = "2024.12.8" # disable bat paging BAT_PAGING = "never" # gpg requires tty -GPG_TTY={value="{{ exec(command='tty') }}", tools=true} +GPG_TTY={value="{{ exec(command='tty', cache_key='tty', cache_duration='1 week') }}", tools=true} # set GITHUB_TOKEN to avoid rate limit while using mise -GITHUB_TOKEN={value="{{ exec(command='gh auth token') }}", tools=true} +GITHUB_TOKEN={value="{{ exec(command='gh auth token', cache_key='github_token', cache_duration='1 day') }}", tools=true} [tools] # language tools