This commit is contained in:
pika 2025-05-18 17:23:57 +02:00
parent f2696d3dd3
commit e1c716dd12

View file

@ -91,14 +91,15 @@
evalCargo
rustup update
run rustup update
echo_info "Installing yazi through cargo"
else
echo_warning "neither cargo, nor curl were found. Cannot continue!"
return 69
fi
cargo install --locked yazi-fm yazi-cli
run cargo install --locked yazi-fm yazi-cli
c_yazi
}
@ -106,7 +107,7 @@
c_yazi() {
if [ -e "$HOME/.config/yazi/package.toml" ]; then
if command_exists ya; then
ya pack -i
run ya pack -i || run ya pack -u
fi
else
echo_warning "There was no yazi config found.. "