aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-13 19:32:13 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-13 19:32:13 +0300
commitf15af7b2c2aa6be0ee3aea5bc2149b00bc9813cc (patch)
treef64788bcd2d37531e5a6c8d930c0fbd162b2c96a /internal
parent5ccec8867341bfffbc5222d67002b335b9d8ebf8 (diff)
parent437b624532f05b3a109c45ed024f2daa881ecfa1 (diff)
Merge branch 'master' into reactive
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index a0a6ac13..ef9d1274 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2330,7 +2330,7 @@ prompt_rust_version() {
dir=${dir:h}
done
fi
- local rustc=${commands[rustc]:A} toolchain deps=()
+ local rustc=$commands[rustc] toolchain deps=()
if (( $+commands[ldd] )); then
if ! _p9k_cache_stat_get $0_so $rustc; then
local line match so
@@ -2344,7 +2344,7 @@ prompt_rust_version() {
deps+=$_p9k_cache_val[1]
fi
if (( $+commands[rustup] )); then
- local rustup=${commands[rustup]:A}
+ local rustup=$commands[rustup]
local rustup_home=${RUSTUP_HOME:-~/.rustup}
local cfg=($rustup_home/settings.toml(.N))
deps+=($cfg $rustup_home/update-hashes/*(.N))