testing
This commit is contained in:
parent
4c9f811ba7
commit
1892a2216f
1 changed files with 5 additions and 2 deletions
7
yazi.sh
7
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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue