mirror of
https://github.com/zdharma-continuum/zinit-annex-rust.git
synced 2026-09-10 04:36:14 -04:00
*atclone-handler: Less verbose `rustup update'
This commit is contained in:
parent
a3fd81e530
commit
910e18b54e
|
|
@ -94,7 +94,7 @@ if (( ${+ZINIT_ICE[rustup]} )) {
|
|||
local -x CARGO_HOME="$dir" RUSTUP_HOME="$dir/rustup" PATH="$dir/bin:$PATH"
|
||||
if (( !ICE_OPTS[opt_-q,--quiet] )) {
|
||||
print -P -- "%F{38}rust annex: %F{154}Running \`rustup update'...%f"
|
||||
rustup update
|
||||
rustup update |& command egrep -i '(error|warning|installing|info: latest update )'
|
||||
} else {
|
||||
rustup update &> /dev/null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue