This commit is contained in:
pika 2025-05-24 15:50:27 +02:00
parent 4c9f811ba7
commit 1892a2216f

View file

@ -93,7 +93,8 @@
i_yazi() {
evalCargo
if command_exists cargo; then
echo_pkg install "Installing yazi through cargo"
return
# echo_pkg install "Installing yazi through cargo"
elif command_exists curl; then
echo_pkg deps "no cargo found, using curl to install rustup"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
@ -109,7 +110,9 @@
return 69
fi
run cargo install --locked yazi-fm yazi-cli
spin grey bold "Installing yazi through cargo"
run cargo install --locked yazi-fm yazi-cli || throw-err
}
yazi_setup() {