aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 7d2ade70..767aca10 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4154,7 +4154,7 @@ function _p9k_read_pyenv_like_version_file() {
[[ -n $fd ]] && exec {fd}>&-
}
local MATCH
- local versions=(${(@)${(f)content}/(#m)*/${MATCH[(w)1]#$2}})
+ local versions=(${${${${(f)content}/(#m)*/${MATCH[(w)1]}}##\#*}#$2})
_p9k__ret=${(j.:.)versions}
_p9k__read_pyenv_like_version_file_cache[$1:$2]=$stat[1]:$_p9k__ret
fi