From 7e835be2d80f6d8143f9355fc9f057db6e03ff88 Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Thu, 12 Oct 2023 14:37:53 +0800 Subject: [PATCH] Correct caching for pyproject.toml --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index a54ce85c..956f1340 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -4298,7 +4298,7 @@ _virtualenv_load_name_poetry() { local idx=$1 local dir=${_p9k__parent_dirs[idx]} local pyproject="$dir/pyproject.toml" - _p9k_cached_cmd 0 '$pyproject' poetry -C "$dir" version + _p9k_cached_cmd 0 "$pyproject" poetry -C "$dir" version # Return the first word only, eg the value of pyproject.toml's `poetry.name` _virtualenv_name="${_p9k__ret%% *}" }