*atclone-handler: Less verbose `rustup update'

This commit is contained in:
Sebastian Gniazdowski 2020-02-28 14:08:24 +01:00
parent a3fd81e530
commit 910e18b54e

View file

@ -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
}