quote override dirs form rustup

pull/450/head
romkatv 5 years ago
parent 5f6d73c5ac
commit 5ce620436d

@ -2736,7 +2736,7 @@ prompt_rust_version() {
_p9k_cache_stat_set _p9k_cache_stat_set
else else
local MATCH local MATCH
local keys=(${^${lines%%[[:space:]]#[^[:space:]]#}}'/*') local keys=(${(@)${lines%%[[:space:]]#[^[:space:]]#}/(#m)*/${(b)MATCH}/})
local vals=(${(@)lines/(#m)*/$MATCH[(I)/] ${MATCH##*[[:space:]]}}) local vals=(${(@)lines/(#m)*/$MATCH[(I)/] ${MATCH##*[[:space:]]}})
_p9k_cache_stat_set ${keys:^vals} _p9k_cache_stat_set ${keys:^vals}
fi fi

Loading…
Cancel
Save