diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-28 13:10:25 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-28 13:10:25 +0300 |
commit | 5ce620436d60247aaf54a946d7eacee667f03a90 (patch) | |
tree | 991b135871ad6c4954cf7d02bba6237433fff3d0 /internal/p10k.zsh | |
parent | 5f6d73c5ac6f623c99c2e781d27c6471fa0b22bd (diff) |
quote override dirs form rustup
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index eb786a10..f2c1a743 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -2736,7 +2736,7 @@ prompt_rust_version() { _p9k_cache_stat_set else local MATCH - local keys=(${^${lines%%[[:space:]]#[^[:space:]]#}}'/*') + local keys=(${(@)${lines%%[[:space:]]#[^[:space:]]#}/(#m)*/${(b)MATCH}/}) local vals=(${(@)lines/(#m)*/$MATCH[(I)/] ${MATCH##*[[:space:]]}}) _p9k_cache_stat_set ${keys:^vals} fi |