This commit is contained in:
pika 2025-05-18 17:48:50 +02:00
parent 623cdc8157
commit 2f3be76879

10
yazi.sh
View file

@ -138,9 +138,17 @@
if command_exists ya; then if command_exists ya; then
run ya pack -u || run ya pack -i run ya pack -u || run ya pack -i
else else
echo_error "Something went wrong when installing yazi.. ya is not available.." if [ -e "$HOME/.cargo/env" ]; then
echo_info "Loadet $HOME/.cargo/env"
. "$HOME/.cargo/env"
run ya pack -u || run ya pack -i
else
echo_error "Something went wrong when installing yazi.. ya is not available.."
fi
fi fi
else else
echo_warning "There was no yazi config found.. " echo_warning "There was no yazi config found.. "
fi fi
} }