changed the script..
This commit is contained in:
parent
fdd7d27728
commit
5502cd8e4d
1 changed files with 224 additions and 207 deletions
17
install.sh
17
install.sh
|
@ -202,6 +202,23 @@ __validate__() {
|
|||
# fi
|
||||
}
|
||||
|
||||
instZellij() {
|
||||
cargoInstall() {
|
||||
if command_exists cargo; then
|
||||
rustup update
|
||||
sleep 1
|
||||
cargo install --locked zellij
|
||||
fi
|
||||
}
|
||||
|
||||
if ! command_exists zellij; then
|
||||
if ! cargoInstall; then
|
||||
echo_error "Something went wrong.. Please look for the installation yourself!"
|
||||
echo "Documentation: https://zellij.dev/documentation/installation.html#third-party-repositories"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
__dep__() {
|
||||
_depss=(
|
||||
"stow"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue