From 91aedf9203db2d52fb4360bb21cf165d350cad56 Mon Sep 17 00:00:00 2001 From: Cherno Chiu <109226834+chernochiu@users.noreply.github.com> Date: Sun, 2 Oct 2022 21:55:45 +0800 Subject: [PATCH] tealdeer: Remove TEALDEER_CACHE_DIR environment variable (#3992) --- bucket/tealdeer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/tealdeer.json b/bucket/tealdeer.json index aac415c992..14129dad67 100644 --- a/bucket/tealdeer.json +++ b/bucket/tealdeer.json @@ -15,14 +15,14 @@ " Write-Host 'File' $file 'does not exists. Creating.' -f Yellow", " $CONT = @(", " '[directories]'", + " \"cache_dir = `\"$persist_dir\\cache`\"\"", " \"custom_pages_dir = `\"$persist_dir\\custom-pages`\"\"", " ) -replace '\\\\', '\\\\'", " Set-Content \"$dir\\$file\" ($CONT -join \"`r`n\") -Encoding ASCII", "}" ], "env_set": { - "TEALDEER_CONFIG_DIR": "$dir", - "TEALDEER_CACHE_DIR": "$dir\\cache" + "TEALDEER_CONFIG_DIR": "$dir" }, "bin": "tldr.exe", "persist": [