wip
This commit is contained in:
parent
623cdc8157
commit
2f3be76879
1 changed files with 9 additions and 1 deletions
10
yazi.sh
10
yazi.sh
|
@ -138,9 +138,17 @@
|
||||||
if command_exists ya; then
|
if command_exists ya; then
|
||||||
run ya pack -u || run ya pack -i
|
run ya pack -u || run ya pack -i
|
||||||
else
|
else
|
||||||
echo_error "Something went wrong when installing yazi.. ya is not available.."
|
if [ -e "$HOME/.cargo/env" ]; then
|
||||||
|
echo_info "Loadet $HOME/.cargo/env"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
|
run ya pack -u || run ya pack -i
|
||||||
|
else
|
||||||
|
echo_error "Something went wrong when installing yazi.. ya is not available.."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
||||||
echo_warning "There was no yazi config found.. "
|
echo_warning "There was no yazi config found.. "
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue