script improvements

This commit is contained in:
pika 2025-05-03 18:02:34 +02:00
parent dbf6268291
commit 9581147942

View file

@ -236,6 +236,26 @@ __dep__() {
if ! instZellij; then
echo_error "Something went wrong.. Please look for the installation yourself!"
echo "Documentation: https://zellij.dev/documentation/installation.html#third-party-repositories"
sleep 2
echo_error "Trying to install with binary approach.."
echo ".."
sleep 0.3
echo ".."
sleep 0.3
echo ".."
sleep 0.3
echo ".."
sleep 0.3
echo ".."
local buildDir="$(mktemp -d)"
cd $buildDir || echo_error "Something went wrong!" && return 1
wget https://github.com/zellij-org/zellij/releases/download/v0.42.2/zellij-x86_64-unknown-linux-musl.tar.gz
tar -xfz zellij*.tar.gz
$_sudo cp zellij /bin/zellij
fi
fi
}