test.sh
This commit is contained in:
parent
5fd2040977
commit
04867a7def
2 changed files with 159 additions and 2 deletions
4
yazi.sh
4
yazi.sh
|
@ -91,9 +91,9 @@
|
|||
i_yazi() {
|
||||
evalCargo
|
||||
if command_exists cargo; then
|
||||
echo_info "Installing yazi through cargo"
|
||||
echo_pkg install "Installing yazi through cargo"
|
||||
elif command_exists curl; then
|
||||
echo_note "no cargo found, using curl to install rustup"
|
||||
echo_pkg deps "no cargo found, using curl to install rustup"
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
||||
evalCargo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue