mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
quote override dirs form rustup
This commit is contained in:
parent
5f6d73c5ac
commit
5ce620436d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue