diff --git a/yazi.sh b/yazi.sh index 9b70e83..cac1e54 100644 --- a/yazi.sh +++ b/yazi.sh @@ -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() {