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() {
|
i_yazi() {
|
||||||
evalCargo
|
evalCargo
|
||||||
if command_exists cargo; then
|
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
|
elif command_exists curl; then
|
||||||
echo_pkg deps "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
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
@ -109,7 +110,9 @@
|
||||||
return 69
|
return 69
|
||||||
fi
|
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() {
|
yazi_setup() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue