mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-24 05:00:07 +00:00
Correct caching for pyproject.toml
This commit is contained in:
parent
893e130bd1
commit
7e835be2d8
1 changed files with 1 additions and 1 deletions
|
@ -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%% *}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue